Browse Source

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

pull/686/head
Cameron Norman 11 years ago
parent
commit
39ad5b7474
  1. 4
      files/fail2ban.upstart

4
files/fail2ban.upstart

@ -12,4 +12,6 @@ end script
exec /usr/bin/fail2ban-client -x start 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