configuration-templates – Blame information for rev 143
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
27 | office | 1 | ########################################################################### |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
||
3 | ########################################################################### |
||
4 | |||
5 | check process privoxy with pidfile /opt/privoxy/var/privoxy.pid |
||
6 | group proxy |
||
50 | office | 7 | depends on privoxy_bin |
8 | depends on privoxy_rc |
||
27 | office | 9 | start program = "/etc/init.d/privoxy start" |
10 | stop program = "/etc/init.d/privoxy stop" |
||
50 | office | 11 | if failed host 192.168.1.1 port 8118 then restart |
27 | office | 12 | # if 5 restarts within 5 cycles then timeout |
13 | |||
14 | check file privoxy_bin with path /opt/privoxy/sbin/privoxy |
||
15 | group proxy |
||
50 | office | 16 | if failed checksum then alert |
17 | if failed permission 755 then alert |
||
18 | if failed uid root then alert |
||
19 | if failed gid root then alert |
||
27 | office | 20 | |
21 | check file privoxy_rc with path /etc/init.d/privoxy |
||
22 | group proxy |
||
50 | office | 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 |