configuration-templates – Diff between revs 28 and 102
?pathlinks?
Rev 28 | Rev 102 | |||
---|---|---|---|---|
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 9050 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 |
- | ||
10 | |
9 | # if 5 restarts within 5 cycles then timeout |
|
- | 10 | |
||
11 |
|
- | ||
12 | |
- | ||
13 | |
- | ||
14 | |
- |