Fixed typo's in config

This commit is contained in:
2021-01-08 17:52:30 +01:00
parent ff9b4229c5
commit 7c719140fe
4 changed files with 13 additions and 9 deletions

View File

@@ -2,5 +2,5 @@ check process nginx with pidfile /var/run/nginx.pid
start program = "/bin/systemctl start nginx"
stop program = "/bin/systemctl stop nginx"
if not exist for 1 cycles then restart
if not exist for 3 cycles then exec "/opt/MonitNotify.sh 'SRV-WARN: Nginx"
if not exist for 3 cycles then exec "/opt/MonitNotify.sh 'SRV-WARN: Nginx'"
else if recovered then exec "/opt/MonitNotify.sh 'SRV-OK: Nginx'"