Commit 7e4fcbb0 authored by Christian Jürges's avatar Christian Jürges
Browse files

conf from local etc

parent 3fcc1b29
Pipeline #171 skipped
......@@ -27,9 +27,10 @@ class App:
'polling': '5',
'apachectl': '/usr/sbin/apache2ctl',
'sudo': 'usr/bin/sudo'})'/etc/apacheocreloader.conf')
confpath = os.path.dirname(__file__)+'/etc/apacheocreloader.conf'
if len(self.config.sections()) == 0:
print "missing config file /etc/apacheocreloader.conf\n"
print "missing config file %s\n" % (confpath)
self.sudo = self.config.get('apache', 'sudo')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment