[tor-commits] [sbws/master] Add runtime dir option in validate
pastly at torproject.org
pastly at torproject.org
Thu Aug 9 14:21:20 UTC 2018
commit ee1596eccf30778ff9e124590ed409980ec442f9
Author: juga0 <juga at riseup.net>
Date: Tue Jul 24 17:39:01 2018 +0000
Add runtime dir option in validate
---
sbws/util/config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbws/util/config.py b/sbws/util/config.py
index 50979b3..99c7d67 100644
--- a/sbws/util/config.py
+++ b/sbws/util/config.py
@@ -275,7 +275,7 @@ def _validate_tor(conf):
sec = 'tor'
err_tmpl = Template('$sec/$key ($val): $e')
unvalidated_keys = [
- 'datadir', 'control_socket', 'log', 'extra_lines']
+ 'datadir', 'run_dpath', 'control_socket', 'pid', 'log', 'extra_lines']
all_valid_keys = unvalidated_keys
errors.extend(_validate_section_keys(conf, sec, all_valid_keys, err_tmpl))
return errors
More information about the tor-commits
mailing list