More work on monitless installer
This commit is contained in:
parent
4043ebfd25
commit
ad4b61e89f
3 changed files with 8 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue