configuration-templates – Diff between revs 28 and 102
?pathlinks?
Rev 28 | Rev 102 | |||
---|---|---|---|---|
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 9050 type tcp then restart |
- | ||
9 | # if 5 restarts within 5 cycles then timeout |
8 | if failed host 127.0.0.1 port 9050 type tcp then restart |
|
- | 9 | # if 5 restarts within 5 cycles then timeout |