izmjene u update-monit.d
authorIvan Rako <irako@nekkar.carnet.hr>
Mon, 22 Feb 2016 09:14:46 +0000 (10:14 +0100)
committerIvan Rako <irako@nekkar.carnet.hr>
Mon, 22 Feb 2016 09:14:46 +0000 (10:14 +0100)
update-monit.d

index 5711255..7de29c1 100755 (executable)
@@ -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