[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] stem: inform Tor is being launched
commit 491ded05374df48d774d212b7bd967b73c8e9936
Author: juga0 <juga@xxxxxxxxxx>
Date: Sun Dec 9 09:57:42 2018 +0000
stem: inform Tor is being launched
since it takes some seconds.
---
sbws/util/stem.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sbws/util/stem.py b/sbws/util/stem.py
index c3fffd1..39c99e4 100644
--- a/sbws/util/stem.py
+++ b/sbws/util/stem.py
@@ -119,6 +119,8 @@ def _init_controller_socket(socket):
def launch_tor(conf):
assert isinstance(conf, ConfigParser)
+ # Inform Tor is being launched, since it takes some seconds.
+ log.info("Launching Tor...")
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)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits