X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=monit-cn.git;a=blobdiff_plain;f=update-monit.d;h=0a1443ffb4af58fd9e2800ad5178fc0529f6da54;hp=72e55c522729d5274a6f1dbbb2f78ba7fc789104;hb=8148e066d8e492ea12ff16573f1b72b8591ef81e;hpb=c8e1f9a3251c3c43dd63e058de7924542c4d0d25 diff --git a/update-monit.d b/update-monit.d index 72e55c5..0a1443f 100755 --- a/update-monit.d +++ b/update-monit.d @@ -79,3 +79,8 @@ for i in $(find "$TEMPLATES_DIR" -name '*.conf'); do fi fi done + +echo "CN: Stopping/restarting monit service" +pkill -9 -f /usr/sbin/monit || true + +exit 0