diff options
author | Linus Nordberg <linus@nordberg.se> | 2015-04-19 13:13:03 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2015-04-19 13:13:03 +0200 |
commit | 6e6259cfcea6adbc3a3559a69a403a491daec142 (patch) | |
tree | d3f11cfc90bd33b301b63363e458b5edf7c3763a | |
parent | 2ffe052a419b5c0e33148de356f753f20c54cbe3 (diff) |
set datadir -- tor refers to /root/.tor if notonion2
-rw-r--r-- | packaging/docker/onion/start.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/docker/onion/start.sh b/packaging/docker/onion/start.sh index e4f1bf6..afc70f7 100644 --- a/packaging/docker/onion/start.sh +++ b/packaging/docker/onion/start.sh @@ -2,6 +2,7 @@ if ! [ -e /etc/tor/torrc ]; then echo "SocksPort 0" >> /etc/tor/torrc + echo "DataDirectory /var/lib/tor" >> /etc/tor/torrc echo "HiddenServiceDir /var/lib/tor/hs" >> /etc/tor/torrc echo "HiddenServicePort 80" >> /etc/tor/torrc fi |