configuration-templates – Blame information for rev 170
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
170 | office | 1 | ########################################################################### |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
||
3 | ########################################################################### |
||
4 | |||
5 | check process tor-01 with pidfile /var/run/tor-instances/01/tor.pid |
||
6 | start program "/bin/systemctl restart tor@01" |
||
7 | stop program "/bin/systemctl stop tor@01" |
||
8 | if failed host 127.0.0.1 port 9051 type tcp then restart |
||
9 | if failed host 127.0.0.1 port 8051 type tcp and |
||
10 | # password is: tor surrounded by quotes 0x22 |
||
11 | send "AUTHENTICATE \0x22tor\0x22\n" |
||
12 | expect "250 OK" |
||
13 | send "GETINFO status/circuit-established\n" |
||
14 | expect "250-status/circuit-established=1" |
||
15 | retry 1 |
||
16 | timeout 5 seconds |
||
17 | then restart |