mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Update fail2ban.upstart
No longer directly exec the server, do not remove the PID file because it is unnecessary to do so. No longer respawns because Upstart can not track the process with the starter command.
This commit is contained in:
parent
4115b62a01
commit
0c8e72f452
1 changed files with 2 additions and 6 deletions
|
|
@ -3,9 +3,5 @@ description "fail2ban - ban hosts that cause multiple authentication errors"
|
|||
start on filesystem and started networking
|
||||
stop on deconfiguring-networking
|
||||
|
||||
expect daemon
|
||||
respawn
|
||||
|
||||
exec /usr/bin/fail2ban-server -x -b
|
||||
|
||||
post-stop exec rm -f /var/run/fail2ban/fail2ban.pid
|
||||
pre-start exec /usr/bin/fail2ban-client -x start
|
||||
post-stop exec /usr/bin/fail2ban-client stop
|
||||
|
|
|
|||
Loading…
Reference in a new issue