Merge branch 'refs/heads/develop'
This commit is contained in:
@@ -176,6 +176,7 @@ class Core(Plugin):
|
||||
})
|
||||
|
||||
def signalHandler(self):
|
||||
if Env.get('daemonized'): return
|
||||
|
||||
def signal_handler(signal, frame):
|
||||
fireEvent('app.shutdown')
|
||||
|
||||
@@ -118,6 +118,7 @@ def runCouchPotato(options, base_path, args, data_dir = None, log_dir = None, En
|
||||
Env.set('console_log', options.console_log)
|
||||
Env.set('quiet', options.quiet)
|
||||
Env.set('desktop', desktop)
|
||||
Env.set('daemonized', options.daemon)
|
||||
Env.set('args', args)
|
||||
Env.set('options', options)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user