mirror of https://github.com/fail2ban/fail2ban
Update Upstart job: uses stop command in pre-stop, removes PID file in post-stop
parent
0ef5027234
commit
39ad5b7474
|
@ -12,4 +12,6 @@ end script
|
|||
|
||||
exec /usr/bin/fail2ban-client -x start
|
||||
|
||||
post-stop exec /usr/bin/fail2ban-client stop
|
||||
pre-stop exec /usr/bin/fail2ban-client stop
|
||||
|
||||
post-stop exec rm -f /var/run/fail2ban/fail2ban.pid
|
||||
|
|
Loading…
Reference in New Issue