Register signals on setFile, not init
This commit is contained in:
1 parent
ae70c2076f
commit
60e580188b
2 files changed
+7
-6
No files matched your search
@@ -37,6 +37,7 @@ def cmd_couchpotato(base_path):
|
||||
settings.setFile(os.path.join(options.data_dir, 'settings.conf'))
|
||||
debug = options.debug or settings.get('debug', default = False)
|
||||
|
||||
# Daemonize app
|
||||
if options.daemonize:
|
||||
createDaemon()
|
||||
|
||||
|
||||
Reference in new issue
Block a user