Update Upstart job: uses stop command in pre-stop, removes PID file in post-stop

pull/686/head
Cameron Norman 11 years ago
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…
Cancel
Save