2020-06-01 00:57:35 +02:00
|
|
|
commands:
|
|
|
|
- tor
|
|
|
|
- vanguards
|
2016-03-07 03:43:12 +01:00
|
|
|
|
2016-09-23 23:57:58 +02:00
|
|
|
user: tor
|
|
|
|
group: tor
|
2016-03-07 03:43:12 +01:00
|
|
|
|
2016-09-23 03:24:11 +02:00
|
|
|
secret_env:
|
|
|
|
- '*_KEY'
|
|
|
|
- '*_PORTS'
|
2017-08-21 09:29:49 +02:00
|
|
|
- '*_SERVICE_NAME'
|
2019-04-03 16:11:09 +02:00
|
|
|
- '*_TOR_SERVICE_*'
|
2019-07-15 02:06:28 +02:00
|
|
|
- 'TOR_SOCKS_PORT'
|
2020-06-01 00:57:35 +02:00
|
|
|
- TOR_CONTROL_PASSWORD
|
|
|
|
|
|
|
|
config_files:
|
|
|
|
- vanguards:
|
|
|
|
- /var/local/tor/vanguards.conf.tpl: /etc/tor/vanguards.conf
|
2016-09-23 03:24:11 +02:00
|
|
|
|
|
|
|
pre_conf_commands:
|
2020-06-01 00:57:35 +02:00
|
|
|
- tor:
|
|
|
|
- onions --setup-hosts
|
2016-03-07 03:43:12 +01:00
|
|
|
|
|
|
|
post_conf_commands:
|
2020-06-01 00:57:35 +02:00
|
|
|
- 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
|
2016-03-07 03:43:12 +01:00
|
|
|
|
2020-06-01 00:57:35 +02:00
|
|
|
set_environment:
|
|
|
|
- vanguards:
|
|
|
|
- TOR_CONTROL_PORT: onions --resolve-control-port
|
2017-02-07 08:57:45 +01:00
|
|
|
reload:
|
|
|
|
files:
|
2017-02-09 09:39:02 +01:00
|
|
|
- /etc/tor/torrc
|
2017-02-07 08:57:45 +01:00
|
|
|
|
2016-03-07 03:43:12 +01:00
|
|
|
debug: false
|