]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/monit/files/puppet
restart cron from monit using service
[dsa-puppet.git] / modules / monit / files / puppet
index b08ec0c7e518be4d0498617fa90410036bbe06c2..7368083677c5707f5763e369349f437da0a93f96 100644 (file)
@@ -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"