From a0b6f958a3d83b091d587b32cc0783833c6c2056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Fri, 17 Aug 2018 14:03:43 +0200 Subject: [PATCH] Manage apache2.service --- xymon/xymon.libs.alert.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xymon/xymon.libs.alert.sh b/xymon/xymon.libs.alert.sh index d5eacdf..e84237d 100755 --- a/xymon/xymon.libs.alert.sh +++ b/xymon/xymon.libs.alert.sh @@ -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"