configuration-templates
/monit/debian/templates/polipo |
---|
@@ -5,5 +5,5 @@ |
check process polipo with pidfile /var/run/polipo/polipo.pid |
start program "/etc/init.d/polipo start" |
stop program "/etc/init.d/polipo stop" |
if failed host 127.0.0.1 port 8123 type tcp then restart |
if failed host 127.0.0.1 port 3128 type tcp then restart |
# if 5 restarts within 5 cycles then timeout |