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.
This commit is contained in:
parent
872064e4a6
commit
405fbd25e1
4 changed files with 20 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue