[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] Create log dir



commit 52b3d1dd86611931343a843b0d86c909ff65d983
Author: juga0 <juga@xxxxxxxxxx>
Date:   Tue Jul 24 18:54:14 2018 +0000

    Create log dir
---
 sbws/util/stem.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sbws/util/stem.py b/sbws/util/stem.py
index 8e57f96..232be2a 100644
--- a/sbws/util/stem.py
+++ b/sbws/util/stem.py
@@ -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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits