Using pyentrypoint

This commit is contained in:
Christophe Mehay 2016-03-07 03:43:12 +01:00
parent 7f16f43cdf
commit ccfdb851cc
8 changed files with 59 additions and 93 deletions

View file

@ -0,0 +1,14 @@
command: tor
user: debian-tor
group: debian-tor
config_files:
- /etc/tor/torrc
post_conf_commands:
- timeout 3s tor > /dev/null || true
- python3 /display_onions.py
- chown -R debian-tor:debian-tor $HOME
debug: false