Manage apache2.service

This commit is contained in:
Jeremy Gardais 2018-08-17 14:03:43 +02:00
parent 852046b176
commit a0b6f958a3
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,10 @@ if echo "${BBALPHAMSG}" | grep -qE "\\&yellow The following processes.*" ; then
[ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG: while bin_path loop — ${bin_path} use old libs." >> "${debug_stdout}"
# Match binaries path and services name {{{
case "${bin_path}" in
# Apache2
'/usr/sbin/apache2' )
service_name="apache2"
;;
# Arpwatch
'/usr/sbin/arpwatch' )
service_name="arpwatch"