configuration-templates – Blame information for rev 132

Subversion Repositories:
Rev:
Rev Author Line No. Line
27 office 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ###########################################################################
4  
5 check file smbd_bin with path /usr/sbin/smbd
49 office 6 group samba
50 office 7 if failed uid root then alert
8 if failed gid root then alert
27 office 9  
10 check process smbd with pidfile /var/run/samba/smbd.pid
49 office 11 group samba
12 depends on smbd_bin
132 office 13 start program = "/etc/init.d/smbd restart"
14 stop program = "/etc/init.d/smbd stop"
27 office 15 if failed host 127.0.0.1 port 139 type TCP then restart
16 # if 5 restarts within 5 cycles then timeout
49 office 17  
27 office 18 check process nmbd with pidfile /var/run/samba/nmbd.pid
19 group samba
49 office 20 depends on nmbd_bin
132 office 21 start program = "/etc/init.d/nmbd restart"
22 stop program = "/etc/init.d/nmbd stop"
27 office 23 if failed host 127.0.0.1 port 138 type UDP then restart
24 if failed host 127.0.0.1 port 137 type UDP then restart
25 # if 5 restarts within 5 cycles then timeout
26  
27 check file nmbd_bin with path /usr/sbin/nmbd
28 group samba
50 office 29 if failed checksum then alert
30 if failed permission 755 then alert
31 if failed uid root then alert
32 if failed gid root then alert