diff options
author | Cameron Norman <CameronNemo@users.noreply.github.com> | 2014-04-11 17:09:08 -0700 |
---|---|---|
committer | Cameron Norman <CameronNemo@users.noreply.github.com> | 2014-04-11 17:09:08 -0700 |
commit | 0c8e72f45266ef1ce44cbd8acda304fb3e1bc689 (patch) | |
tree | 5d46a64e44bc6cb7f638f498f390c993e51f3fa3 /files | |
parent | 4115b62a01112576bdb22c18f1445103bdda3ebe (diff) | |
download | fail2ban-0c8e72f45266ef1ce44cbd8acda304fb3e1bc689.tar.gz |
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.
Diffstat (limited to 'files')
-rw-r--r-- | files/fail2ban.upstart | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/files/fail2ban.upstart b/files/fail2ban.upstart index 19349ebd..ccf267f0 100644 --- a/files/fail2ban.upstart +++ b/files/fail2ban.upstart @@ -3,9 +3,5 @@ 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 +pre-start exec /usr/bin/fail2ban-client -x start +post-stop exec /usr/bin/fail2ban-client stop |