fail2ban/files/fail2ban.upstart

12 lines
267 B
Plaintext
Raw Normal View History

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