aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-enable-tor.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-11-29 17:30:27 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-11-29 17:30:27 -0400
commit6fbf18025af8c697b515e83600f16de0c232a994 (patch)
tree75e4ce29ffeb2a66273c8402447ae4626ff87724 /doc/git-annex-enable-tor.mdwn
parentec8d3f61bd4cd1432757fd8fe185ba8f35791755 (diff)
finish git-annex enable-tor
Make it stash the address away for git-annex p2p to use later, rather than outputting it. And, look up the UUID itself.
Diffstat (limited to 'doc/git-annex-enable-tor.mdwn')
-rw-r--r--doc/git-annex-enable-tor.mdwn14
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/git-annex-enable-tor.mdwn b/doc/git-annex-enable-tor.mdwn
index 9fb55db5f..1c1738027 100644
--- a/doc/git-annex-enable-tor.mdwn
+++ b/doc/git-annex-enable-tor.mdwn
@@ -4,20 +4,18 @@ git-annex enable-tor - enable tor hidden service
# SYNOPSIS
-git annex enable-tor userid uuid
+sudo git annex enable-tor $(id -u)
# DESCRIPTION
-This plumbing-level command enables a tor hidden service for git-annex,
-using the specified repository uuid and userid.
+This command enables a tor hidden service for git-annex.
-This command has to be run by root, since it modifies `/etc/tor/torrc`.
+It has to be run by root, since it modifies `/etc/tor/torrc`.
+Pass it your user id number, as output by `id -u`
After this command is run, `git annex remotedaemon` can be run to serve the
-tor hidden service.
-
-Use the `git-annex p2p --gen-address` command to give other users access
-to your repository via the tor hidden service.
+tor hidden service, and then `git-annex p2p --gen-address` can be run to
+give other users access to your repository via the tor hidden service.
# SEE ALSO