configuration-templates – Diff between revs 29 and 50
?pathlinks?
Rev 29 | Rev 50 | |||
---|---|---|---|---|
1 | ########################################################################### |
1 | ########################################################################### |
|
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
|
3 | ########################################################################### |
3 | ########################################################################### |
|
4 | |
4 | |
|
5 | check process ntpd with pidfile /var/run/openntpd.pid |
5 | check process ntpd with pidfile /var/run/openntpd.pid |
|
6 | group system |
6 | group system |
|
7 | group ntpd |
7 | group ntpd |
|
8 | start program = "/etc/init.d/openntpd start" |
- | ||
9 | stop program = "/etc/init.d/openntpd stop" |
- | ||
10 | if 4 restarts within 12 cycles then timeout |
- | ||
11 | depend ntpd_bin |
8 | depend ntpd_bin |
|
12 | depend ntpd_rc |
9 | depend ntpd_rc |
|
- | 10 | start program = "/etc/init.d/openntpd start" |
||
- | 11 | stop program = "/etc/init.d/openntpd stop" |
||
- | 12 | # if 4 restarts within 12 cycles then timeout |
||
13 | |
13 | |
|
14 | check file ntpd_bin with path /usr/sbin/ntpd |
14 | check file ntpd_bin with path /usr/sbin/ntpd |
|
15 | group ntpd |
15 | group ntpd |
|
16 | include /etc/monit/templates/rootbin |
16 | include /etc/monit/templates/rootbin |
|
17 | |
17 | |
|
18 | check file ntpd_rc with path /etc/init.d/openntpd |
18 | check file ntpd_rc with path /etc/init.d/openntpd |
|
19 | group ntpd |
19 | group ntpd |
|
20 | include /etc/monit/templates/rootbin |
20 | include /etc/monit/templates/rootbin |
|
21 | |
21 | |