-
-
Notifications
You must be signed in to change notification settings - Fork 133
Expand file tree
/
Copy pathincron
More file actions
22 lines (19 loc) · 718 Bytes
/
incron
File metadata and controls
22 lines (19 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
check process "incron" with pidfile "/run/incrond.pid"
group "system"
group "incron"
start program = "/usr/sbin/service incron start"
stop program = "/usr/sbin/service incron stop"
restart program = "/usr/sbin/service incron restart"
if 5 restarts with 5 cycles then unmonitor
depends on incron_bin
depends on incron_rc
depends on incron_init
check file "incron_bin" with path "/usr/sbin/incrond"
group "incron"
include "/etc/monit/templates/rootbin"
check file "incron_rc" with path "/etc/incron.conf"
group "incron"
include "/etc/monit/templates/rootrc"
check file "incron_init" with path "/etc/init.d/incron"
group "incron"
include "/etc/monit/templates/rootbin"