[tor-commits] [ooni-probe/master] Set ooni systemwide config to /etc/ooni/ooniprobe.conf
art at torproject.org
art at torproject.org
Sat Jan 3 15:05:12 UTC 2015
commit 7f2d1c8bce717df226b73514284424002a4ba899
Author: aagbsn <aagbsn at extc.org>
Date: Sun Oct 26 18:30:03 2014 +0000
Set ooni systemwide config to /etc/ooni/ooniprobe.conf
---
ooni/settings.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ooni/settings.py b/ooni/settings.py
index 92cedb9..51eef07 100644
--- a/ooni/settings.py
+++ b/ooni/settings.py
@@ -176,6 +176,6 @@ class OConfig(object):
config = OConfig()
if not os.path.isfile(config.config_file) \
- and os.path.isfile('/etc/ooniprobe.conf'):
+ and os.path.isfile('/etc/ooni/ooniprobe.conf'):
config.global_options['configfile'] = '/etc/ooniprobe.conf'
config.set_paths(ooni_home=config.advanced.data_dir)
More information about the tor-commits
mailing list