configuration-templates – Diff between revs 27 and 50

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 27 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 privoxy with pidfile /opt/privoxy/var/privoxy.pid 5 check process privoxy with pidfile /opt/privoxy/var/privoxy.pid
6 group proxy 6 group proxy
-   7 depends on privoxy_bin
-   8 depends on privoxy_rc
7 start program = "/etc/init.d/privoxy start" 9 start program = "/etc/init.d/privoxy start"
8 stop program = "/etc/init.d/privoxy stop" 10 stop program = "/etc/init.d/privoxy stop"
9 # if 5 restarts within 5 cycles then timeout -  
10 if failed host 192.168.1.1 port 8118 then restart 11 if failed host 192.168.1.1 port 8118 then restart
11 depends on privoxy_bin 12 # if 5 restarts within 5 cycles then timeout
12 depends on privoxy_rc -  
13 13
14 check file privoxy_bin with path /opt/privoxy/sbin/privoxy 14 check file privoxy_bin with path /opt/privoxy/sbin/privoxy
15 group proxy 15 group proxy
16 if failed checksum then unmonitor 16 if failed checksum then alert
17 if failed permission 755 then unmonitor 17 if failed permission 755 then alert
18 if failed uid root then unmonitor 18 if failed uid root then alert
19 if failed gid root then unmonitor 19 if failed gid root then alert
20 20
21 check file privoxy_rc with path /etc/init.d/privoxy 21 check file privoxy_rc with path /etc/init.d/privoxy
22 group proxy 22 group proxy
23 if failed checksum then unmonitor -  
24 if failed permission 755 then unmonitor -  
25 if failed uid root then unmonitor -  
26 if failed gid root then unmonitor -  
27   23 if failed checksum then alert
-   24 if failed permission 755 then alert
-   25 if failed uid root then alert
-   26 if failed gid root then alert
-   27  
28
Generated by GNU Enscript 1.6.5.90.
28
Generated by GNU Enscript 1.6.5.90.
29   29  
30   30  
31   31