Update fail2ban.upstart

It was actually a little problematic :)
pull/686/head
Cameron Norman 2014-04-11 16:49:56 -07:00
parent 83d0c9c530
commit 4115b62a01
1 changed files with 2 additions and 4 deletions

View File

@ -3,11 +3,9 @@ description "fail2ban - ban hosts that cause multiple authentication errors"
start on filesystem and started networking
stop on deconfiguring-networking
expect fork
expect daemon
respawn
exec /usr/bin/fail2ban-client -x -b start
pre-stop exec /usr/bin/fail2ban-client stop
exec /usr/bin/fail2ban-server -x -b
post-stop exec rm -f /var/run/fail2ban/fail2ban.pid