configuration-templates – Diff between revs 27 and 50

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 27 Rev 50
Line 2... Line 2...
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## 2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ########################################################################### 3 ###########################################################################
Line 4... Line 4...
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
-   7 depends on privoxy_bin
6 group proxy 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" -  
9 # if 5 restarts within 5 cycles then timeout 10 stop program = "/etc/init.d/privoxy stop"
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 -  
Line 12... Line 12...
12 depends on privoxy_rc 12 # if 5 restarts within 5 cycles then timeout
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
Line 18... Line 18...
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 -  
21 check file privoxy_rc with path /etc/init.d/privoxy -  
22 group proxy -  
23 if failed checksum then unmonitor -  
24 if failed permission 755 then unmonitor 20
-   21 check file privoxy_rc with path /etc/init.d/privoxy
-   22 group proxy
-   23 if failed checksum then alert
-   24 if failed permission 755 then alert
25 if failed uid root then unmonitor 25 if failed uid root then alert