From: Ivan Rako Date: Mon, 22 Feb 2016 09:14:46 +0000 (+0100) Subject: izmjene u update-monit.d X-Git-Tag: debian/1%5.9_cn0~3 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=monit-cn.git;a=commitdiff_plain;h=e9baeee95b0777684ba19912e7469860ec11dede izmjene u update-monit.d --- diff --git a/update-monit.d b/update-monit.d index 5711255..7de29c1 100755 --- a/update-monit.d +++ b/update-monit.d @@ -172,7 +172,8 @@ done if [ $changed -eq 1 ]; then echo "CN: Stopping/restarting monit service" - pkill -9 -f /usr/bin/monit || true + #pkill -9 -f /usr/bin/monit || true + service monit restart else echo "CN: No new services detected, sorry" fi