Skip to content
Snippets Groups Projects
Commit 52b3d1dd authored by juga's avatar juga Committed by Matt Traudt
Browse files

Create log dir

parent 75d93f80
No related branches found
No related tags found
No related merge requests found
......@@ -120,6 +120,7 @@ def _init_controller_socket(socket):
def launch_tor(conf):
assert isinstance(conf, ConfigParser)
os.makedirs(conf.getpath('tor', 'datadir'), mode=0o700, exist_ok=True)
os.makedirs(conf.getpath('tor', 'log'), exist_ok=True)
os.makedirs(conf.getpath('tor', 'run_dpath'), mode=0o700, exist_ok=True)
# Bare minimum things, more or less
torrc = copy.deepcopy(TORRC_STARTING_POINT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment