configuration-templates – Diff between revs 27 and 28

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 27 Rev 28
Line 3... Line 3...
3 ########################################################################### 3 ###########################################################################
Line 4... Line 4...
4   4  
5 check process tor with pidfile /var/run/tor/tor.pid 5 check process tor with pidfile /var/run/tor/tor.pid
6 start program "/etc/init.d/tor restart" 6 start program "/etc/init.d/tor restart"
7 stop program "/etc/init.d/tor stop" 7 stop program "/etc/init.d/tor stop"
8 if failed host 127.0.0.1 port 9040 type tcp then restart 8 if failed host 127.0.0.1 port 9050 type tcp then restart
9 # if 5 restarts within 5 cycles then timeout 9 # if 5 restarts within 5 cycles then timeout