Inital commit
This commit is contained in:
6
conf/monit/apache.conf
Normal file
6
conf/monit/apache.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
check process APApro with pidfile /var/run/APAserv/APAserv.pid
|
||||
start program = "/usr/bin/systemctl start APAserv"
|
||||
stop program = "/usr/bin/systemctl stop APAserv"
|
||||
if not exist for 1 cycles then restart
|
||||
if not exist for 3 cycles then exec "/opt/MonitNotify.sh 'SRV-WARN: Apache'"
|
||||
else if recovered then exec "/opt/MonitNotify.sh 'SRV-OK: Apache'"
|
||||
Reference in New Issue
Block a user