configuration-templates – Diff between revs 27 and 49

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 27 Rev 49
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 file smbd_bin with path /usr/sbin/smbd 5 check file smbd_bin with path /usr/sbin/smbd
-   6 group samba
6 if failed uid root then unmonitor 7 # if failed uid root then unmonitor
7 if failed gid root then unmonitor 8 # if failed gid root then unmonitor
8 group samba -  
9 9
-   10 check process smbd with pidfile /var/run/samba/smbd.pid
-   11 group samba
10 check process smbd with pidfile /var/run/samba/smbd.pid 12 depends on smbd_bin
11 start program = "/etc/init.d/samba restart" 13 start program = "/etc/init.d/samba restart"
12 stop program = "/etc/init.d/samba stop" 14 stop program = "/etc/init.d/samba stop"
13 if failed host 127.0.0.1 port 139 type TCP then restart 15 if failed host 127.0.0.1 port 139 type TCP then restart
14 # if 5 restarts within 5 cycles then timeout 16 # if 5 restarts within 5 cycles then timeout
15 depends on smbd_bin -  
16 group samba -  
17 17  
18 check process nmbd with pidfile /var/run/samba/nmbd.pid 18 check process nmbd with pidfile /var/run/samba/nmbd.pid
19 group samba 19 group samba
-   20 depends on nmbd_bin
20 start program = "/etc/init.d/samba restart" 21 start program = "/etc/init.d/samba restart"
21 stop program = "/etc/init.d/samba stop" 22 stop program = "/etc/init.d/samba stop"
22 if failed host 127.0.0.1 port 138 type UDP then restart 23 if failed host 127.0.0.1 port 138 type UDP then restart
23 if failed host 127.0.0.1 port 137 type UDP then restart 24 if failed host 127.0.0.1 port 137 type UDP then restart
24 # if 5 restarts within 5 cycles then timeout 25 # if 5 restarts within 5 cycles then timeout
25 depends on nmbd_bin -  
26 26
27 check file nmbd_bin with path /usr/sbin/nmbd 27 check file nmbd_bin with path /usr/sbin/nmbd
28 group samba 28 group samba
29 if failed checksum then unmonitor -  
30 if failed permission 755 then unmonitor -  
31 if failed uid root then unmonitor -  
32 if failed gid root then unmonitor -  
33   29 # if failed checksum then unmonitor
-   30 # if failed permission 755 then unmonitor
-   31 # if failed uid root then unmonitor
-   32 # if failed gid root then unmonitor
-   33  
34
Generated by GNU Enscript 1.6.5.90.
-  
35   -  
36   -  
37   -