projects
/
monit-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aba290c
)
izmjene u update-monit.d
author
Ivan Rako
<irako@nekkar.carnet.hr>
Mon, 22 Feb 2016 09:14:46 +0000
(10:14 +0100)
committer
Ivan Rako
<irako@nekkar.carnet.hr>
Mon, 22 Feb 2016 09:14:46 +0000
(10:14 +0100)
update-monit.d
patch
|
blob
|
history
diff --git
a/update-monit.d
b/update-monit.d
index
5711255
..
7de29c1
100755
(executable)
--- 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