aboutsummaryrefslogtreecommitdiff
path: root/Command/EnableTor.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-12-21 14:31:27 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-12-21 14:39:32 -0400
commitb8f56b58b697a56da4f37c0320a4945f6cb67497 (patch)
treee886fff2359a0f2d1288f21e518dea5d4e8935c9 /Command/EnableTor.hs
parentd8780a284a4ee3abe02b5e3ef7697dd6f2d32f44 (diff)
include tor-annex in hidden service directory names
To make it easier to manage/delete them etc. Backwards compatablity is preserved for existing tor configs.
Diffstat (limited to 'Command/EnableTor.hs')
-rw-r--r--Command/EnableTor.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/EnableTor.hs b/Command/EnableTor.hs
index d12a6e446..c81968a55 100644
--- a/Command/EnableTor.hs
+++ b/Command/EnableTor.hs
@@ -56,6 +56,6 @@ start os = do
where
go uuid userid = do
(onionaddr, onionport) <- liftIO $
- addHiddenService "tor-annex" userid (fromUUID uuid)
+ addHiddenService torAppName userid (fromUUID uuid)
storeP2PAddress $ TorAnnex onionaddr onionport
stop