More work on monitless installer

This commit is contained in:
Duncan Sommerville 2014-12-16 19:05:17 -05:00
parent 4043ebfd25
commit ad4b61e89f
3 changed files with 8 additions and 3 deletions

View file

@ -213,6 +213,7 @@ class AirtimeApiClient(object):
try:
self.config = ConfigObj(config_path)
self.config.update(api_config)
self.logger.info(json.dumps(self.config))
self.services = RequestProvider(self.config)
except Exception, e:
self.logger.error('Error loading config file: %s', config_path)

View file

@ -31,7 +31,7 @@ start () {
#start-stop-daemon --start --quiet --chuid $USERID:$GROUPID \
#--pidfile $PIDFILE --nicelevel -15 --startas $DAEMON
start-stop-daemon --start --quiet --chuid $USERID:$GROUPID \
--nicelevel -15 --startas $DAEMON --exec $EXEC
--startas $DAEMON --exec $EXEC
}
stop () {