mirror of https://github.com/fail2ban/fail2ban
parent
83d0c9c530
commit
4115b62a01
|
@ -3,11 +3,9 @@ description "fail2ban - ban hosts that cause multiple authentication errors"
|
||||||
start on filesystem and started networking
|
start on filesystem and started networking
|
||||||
stop on deconfiguring-networking
|
stop on deconfiguring-networking
|
||||||
|
|
||||||
expect fork
|
expect daemon
|
||||||
respawn
|
respawn
|
||||||
|
|
||||||
exec /usr/bin/fail2ban-client -x -b start
|
exec /usr/bin/fail2ban-server -x -b
|
||||||
|
|
||||||
pre-stop exec /usr/bin/fail2ban-client stop
|
|
||||||
|
|
||||||
post-stop exec rm -f /var/run/fail2ban/fail2ban.pid
|
post-stop exec rm -f /var/run/fail2ban/fail2ban.pid
|
||||||
|
|
Loading…
Reference in New Issue