WIP: Adding vanguard...
This commit is contained in:
parent
af0cbea44f
commit
0334d7eb6b
13 changed files with 682 additions and 127 deletions
|
|
@ -1,4 +1,6 @@
|
|||
command: tor
|
||||
commands:
|
||||
- tor
|
||||
- vanguards
|
||||
|
||||
user: tor
|
||||
group: tor
|
||||
|
|
@ -9,14 +11,29 @@ secret_env:
|
|||
- '*_SERVICE_NAME'
|
||||
- '*_TOR_SERVICE_*'
|
||||
- 'TOR_SOCKS_PORT'
|
||||
- TOR_CONTROL_PASSWORD
|
||||
|
||||
config_files:
|
||||
- vanguards:
|
||||
- /var/local/tor/vanguards.conf.tpl: /etc/tor/vanguards.conf
|
||||
|
||||
pre_conf_commands:
|
||||
- onions --setup-hosts
|
||||
- tor:
|
||||
- onions --setup-hosts
|
||||
|
||||
post_conf_commands:
|
||||
- chmod -R 700 $HOME
|
||||
- chown -R tor:tor $HOME
|
||||
- tor:
|
||||
- mkdir -p /run/tor
|
||||
- chmod -R 700 $HOME /run/tor
|
||||
- chown -R tor:tor $HOME /run/tor
|
||||
|
||||
post_run_commands:
|
||||
- tor:
|
||||
- onions --run-vanguards
|
||||
|
||||
set_environment:
|
||||
- vanguards:
|
||||
- TOR_CONTROL_PORT: onions --resolve-control-port
|
||||
reload:
|
||||
files:
|
||||
- /etc/tor/torrc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue