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:
0ecee20
)
r4: - be more verbose when no new services
author
Dinko Korunic
<Dinko.Korunic@CARNet.hr>
Wed, 3 Oct 2007 18:13:02 +0000
(18:13 +0000)
committer
Dinko Korunic
<Dinko.Korunic@CARNet.hr>
Wed, 3 Oct 2007 18:13:02 +0000
(18:13 +0000)
update-monit.d
patch
|
blob
|
history
diff --git
a/update-monit.d
b/update-monit.d
index
0e06932
..
789efff
100755
(executable)
--- a/
update-monit.d
+++ b/
update-monit.d
@@
-87,6
+87,8
@@
done
if [ $changed -eq 1 ]; then
echo "CN: Stopping/restarting monit service"
pkill -9 -f /usr/sbin/monit || true
+else
+ echo "CN: No new services detected, sorry"
fi
exit 0