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