projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
557b86e
)
restart cron from monit using service
author
Helmut Grohne
<helmut@subdivi.de>
Fri, 7 Nov 2014 14:29:10 +0000
(15:29 +0100)
committer
Héctor Orón Martínez
<zumbi@debian.org>
Fri, 7 Nov 2014 15:39:54 +0000
(16:39 +0100)
Getting rid of explicit /etc/init.d/ invocations as those may disappear.
Signed-off-by: Helmut Grohne <helmut@subdivi.de>
modules/monit/files/puppet
patch
|
blob
|
history
diff --git
a/modules/monit/files/puppet
b/modules/monit/files/puppet
index
b08ec0c
..
7368083
100644
(file)
--- a/
modules/monit/files/puppet
+++ b/
modules/monit/files/puppet
@@
-6,4
+6,4
@@
check file cronalive
with path /var/cache/dsa/cron.alive
# a cycle is 5 minutes, 24 cycles is thus 2 hours
- if timestamp > 120 minutes for 24 cycles then exec "
/etc/init.d/
cron restart"
+ if timestamp > 120 minutes for 24 cycles then exec "
service
cron restart"