1 --- agent.py 2009-12-11 14:01:02.000000000 +0100
2 +++ agent_new.py 2009-12-22 19:44:10.000000000 +0100
4 path = os.path.dirname(path)
6 config = ConfigParser.ConfigParser()
7 - config.read(path + '/config.cfg')
8 + config.read('/etc/sd-agent/config.cfg')
11 agentConfig['sdUrl'] = config.get('Main', 'sd_url')
15 print 'usage: %s start|stop|restart|status|update' % sys.argv[0]
17 \ No newline at end of file