mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Update Upstart job: uses stop command in pre-stop, removes PID file in post-stop
This commit is contained in:
parent
0ef5027234
commit
39ad5b7474
1 changed files with 3 additions and 1 deletions
|
|
@ -12,4 +12,6 @@ end script
|
|||
|
||||
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…
Reference in a new issue