fail2ban/files/fail2ban.upstart
Cameron Norman 0c8e72f452 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.
2014-04-11 17:09:08 -07:00

7 lines
249 B
Text

description "fail2ban - ban hosts that cause multiple authentication errors"
start on filesystem and started networking
stop on deconfiguring-networking
pre-start exec /usr/bin/fail2ban-client -x start
post-stop exec /usr/bin/fail2ban-client stop