X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=monit-cn.git;a=blobdiff_plain;f=update-monit.d;h=7de29c1afe5efd3aa2e2b7b922facc6905bcab13;hp=5711255cc3921db3d8d6fb1cfb0f5a5b42746260;hb=HEAD;hpb=c57f2a756831077fa8d56edf21395df39c9d3a5b diff --git a/update-monit.d b/update-monit.d index 5711255..d7abcbf 100755 --- a/update-monit.d +++ b/update-monit.d @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2007 Dinko Korunic, CARNet, Grupa za izradu paketa +# Copyright (C) 2007 Dinko Korunic, CARNET, Grupa za izradu paketa # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the @@ -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