updated systemctl path, fixed mysql & php conf

This commit is contained in:
2021-01-08 15:03:15 +01:00
parent cedf566f74
commit fc90bb59fe
7 changed files with 20 additions and 19 deletions

View File

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