fix tor dir being too open
This commit is contained in:
parent
8e5152a14e
commit
8a82e76182
4 changed files with 7 additions and 3 deletions
|
@ -114,6 +114,10 @@ def daemon():
|
|||
if not offline_mode:
|
||||
|
||||
if use_existing_tor:
|
||||
try:
|
||||
os.mkdir(filepaths.tor_hs_loc)
|
||||
except FileExistsError:
|
||||
pass
|
||||
net.socksPort = config.get('tor.existing_socks_port')
|
||||
try:
|
||||
net.myID = create_onion_service(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue