configuration-templates – Diff between revs 27 and 28
?pathlinks?
Rev 27 | Rev 28 | |||
---|---|---|---|---|
1 | ########################################################################### |
1 | ########################################################################### |
|
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
|
3 | ########################################################################### |
3 | ########################################################################### |
|
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 |
|
10 | |
10 | |
|
11 |
|
11 |
|
|
12 | |
12 | |
|
13 | |
13 | |
|
14 | |
14 | |