diff options
Diffstat (limited to 'zeronet.install')
-rw-r--r-- | zeronet.install | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/zeronet.install b/zeronet.install index 5c2b09b74eb9..1be4583187fc 100644 --- a/zeronet.install +++ b/zeronet.install @@ -8,11 +8,11 @@ post_install() { # Don't run thesre operations automatically, because they are security-sensitive echo ">>> Default mode is clearnet+Tor. Give zeronet permissions to configure hidden service:" echo ">>> sudo usermod -a -G tor zeronet" - echo ">>> sudo mkdir -m 750 /var/lib/tor-auth && sudo chown tor:tor /var/lib/tor-auth" echo ">>> Add/edit the following options in /etc/tor/torrc:" + echo ">>> DataDirectoryGroupReadable 1" echo ">>> CookieAuthentication 1" echo ">>> CookieAuthFileGroupReadable 1" - echo ">>> CookieAuthFile /var/lib/tor-auth/control_auth_cookie" + echo ">>> CookieAuthFile /var/lib/tor/control_auth_cookie" echo ">>> Restart tor (reload not enough):" echo ">>> sudo systemctl restart tor" echo ">>> Run daemon and check status and view log:" @@ -31,4 +31,10 @@ post_install() { post_upgrade() { chown -R zeronet:zeronet /opt/zeronet + + echo ">>> UPDATE in 0.6.0: no longer need auth dir (Tor bug 19953 fixed):" + echo ">>> Change or add to /etc/tor/torrc:" + echo ">>> DataDirectoryGroupReadable 1" + echo ">>> CookieAuthFile /var/lib/tor/control_auth_cookie" + echo ">>> Run: sudo rm -r /var/lib/tor-auth && sudo systemctl restart tor" } |