Viktor Szépe 2016-09-22 20:29:26 +00:00
parent 28e286cd2d
commit a406c6eb3a
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
check process fail2ban with pidfile /var/run/fail2ban/fail2ban.pid
group services
start program = "/etc/init.d/fail2ban force-start"
stop program = "/etc/init.d/fail2ban stop || :"
stop program = "/etc/init.d/fail2ban stop"
if failed unixsocket /var/run/fail2ban/fail2ban.sock then restart
if 5 restarts within 5 cycles then timeout