From a406c6eb3a20621e43e84cb644ff2c19873d629f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Thu, 22 Sep 2016 20:29:26 +0000 Subject: [PATCH] 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 --- files/monit/fail2ban | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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