enable-tor: No longer needs to be run as root.

When run by not root, su's to root automatically.

This commit was sponsored by Brock Spratlen on Patreon.
This commit is contained in:
Joey Hess 2016-12-20 17:40:36 -04:00
parent 944a6503b9
commit f7ca2b92fb
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
6 changed files with 92 additions and 6 deletions

View file

@ -23,7 +23,7 @@ to accomplish this.
In each git-annex repository, run these commands:
sudo git annex enable-tor $(id -u)
git annex enable-tor
git annex remotedaemon
Now git-annex is running as a Tor hidden service, but