configuration-templates – Rev 42

Subversion Repositories:
Rev:
###########################################################################
##  Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3      ##
###########################################################################

check process privoxy with pidfile /opt/privoxy/var/privoxy.pid
   group proxy
   start program = "/etc/init.d/privoxy start"
   stop  program = "/etc/init.d/privoxy stop"
   # if 5 restarts within 5 cycles then timeout
   if failed host 192.168.1.1 port 8118  then restart
   depends on privoxy_bin
   depends on privoxy_rc
 
check file privoxy_bin with path /opt/privoxy/sbin/privoxy
   group proxy
   if failed checksum then unmonitor
   if failed permission 755 then unmonitor
   if failed uid root then unmonitor
   if failed gid root then unmonitor
 
check file privoxy_rc with path /etc/init.d/privoxy
   group proxy
   if failed checksum then unmonitor
   if failed permission 755 then unmonitor
   if failed uid root then unmonitor
   if failed gid root then unmonitor 

Generated by GNU Enscript 1.6.5.90.