/etc/monit/monit.d/01puppet:9: Warning: Program does not exist: 'service'
Signed-off-by: Julien Cristau <jcristau@debian.org>
check file cronalive
with path /var/cache/dsa/cron.alive
# a cycle is 5 minutes, 24 cycles is thus 2 hours
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 "service cron restart"
+ if timestamp > 120 minutes for 24 cycles then exec "/usr/sbin/service cron restart"