updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sd_agent / agent.patch
blob6dbf3de4150f576ad06184b7a3aac432a1aa13f9
1 --- agent.py 2009-12-11 14:01:02.000000000 +0100
2 +++ agent_new.py 2009-12-22 19:44:10.000000000 +0100
3 @@ -41,7 +41,7 @@
4 path = os.path.dirname(path)
6 config = ConfigParser.ConfigParser()
7 - config.read(path + '/config.cfg')
8 + config.read('/etc/sd-agent/config.cfg')
10 # Core config
11 agentConfig['sdUrl'] = config.get('Main', 'sd_url')
12 @@ -348,4 +348,4 @@
14 else:
15 print 'usage: %s start|stop|restart|status|update' % sys.argv[0]
16 - sys.exit(2)
17 \ No newline at end of file
18 + sys.exit(2)