updated systemctl path, fixed mysql & php conf
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
check process fail2ban with pidfile /var/run/fail2ban/fail2ban.pid
|
||||
start program = "/usr/bin/systemctl start fail2ban"
|
||||
stop program = "/usr/bin/systemctl stop fail2ban"
|
||||
start program = "/bin/systemctl start fail2ban"
|
||||
stop program = "/bin/systemctl stop fail2ban"
|
||||
if failed unixsocket /var/run/fail2ban/fail2ban.sock then restart
|
||||
if failed unixsocket /var/run/fail2ban/fail2ban.sock for 3 cycles then exec "/opt/MonitNotify.sh 'SRV-WARN: Fail2Ban Socket'"
|
||||
else if recovered then exec "/opt/MonitNotify.sh 'SRV-OK: Fail2Ban Socket'"
|
||||
|
||||
Reference in New Issue
Block a user