configuration-templates – Diff between revs 29 and 50

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
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 mdadm with pidfile /var/run/mdadm/monitor.pid 5 check process mdadm with pidfile /var/run/mdadm/monitor.pid
6 group system 6 group system
7 group mdadm 7 group mdadm
8 start program = "/etc/init.d/mdadm start" -  
9 stop program = "/etc/init.d/mdadm stop" -  
10 if 5 restarts with 5 cycles then timeout -  
11 depend mdadm_bin 8 depend mdadm_bin
12 depend mdadm_rc 9 depend mdadm_rc
13 depend mdadm_conf 10 depend mdadm_conf
-   11 start program = "/etc/init.d/mdadm start"
-   12 stop program = "/etc/init.d/mdadm stop"
-   13 # if 5 restarts with 5 cycles then timeout
14   14  
15 check file mdadm_bin with path /sbin/mdadm 15 check file mdadm_bin with path /sbin/mdadm
16 group mdadm 16 group mdadm
17 include /etc/monit/templates/rootbin 17 include /etc/monit/templates/rootbin
18   18  
19 check file mdadm_conf with path /etc/mdadm/mdadm.conf 19 check file mdadm_conf with path /etc/mdadm/mdadm.conf
20 group mdadm 20 group mdadm
21 include /etc/monit/templates/rootrc 21 include /etc/monit/templates/rootrc
22   22  
23 check file mdadm_rc with path "/etc/init.d/mdadm" 23 check file mdadm_rc with path "/etc/init.d/mdadm"
24 group mdadm 24 group mdadm
25 include /etc/monit/templates/rootbin 25 include /etc/monit/templates/rootbin
26   26