diff options
author | Viktor Szépe <viktor@szepe.net> | 2016-09-22 20:29:26 +0000 |
---|---|---|
committer | Viktor Szépe <viktor@szepe.net> | 2016-09-22 20:29:26 +0000 |
commit | a406c6eb3a20621e43e84cb644ff2c19873d629f (patch) | |
tree | e67ad959af1a03b3841aa978381857042daa84c0 /files | |
parent | 28e286cd2dc1ebe2df47a45f3292edb87afece69 (diff) | |
download | fail2ban-a406c6eb3a20621e43e84cb644ff2c19873d629f.tar.gz |
By the author:
> Yes, scripting is not supported in path.
https://bitbucket.org/tildeslash/monit/issues/372/webadmin-shows-only-the-first-part-of#comment-27946048
Diffstat (limited to 'files')
-rw-r--r-- | files/monit/fail2ban | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/monit/fail2ban b/files/monit/fail2ban index 8e6c9419..7873dbe0 100644 --- a/files/monit/fail2ban +++ b/files/monit/fail2ban @@ -1,7 +1,7 @@ check process fail2ban with pidfile /var/run/fail2ban/fail2ban.pid group services start program = "/etc/init.d/fail2ban force-start" - stop program = "/etc/init.d/fail2ban stop || :" + stop program = "/etc/init.d/fail2ban stop" if failed unixsocket /var/run/fail2ban/fail2ban.sock then restart if 5 restarts within 5 cycles then timeout |