Don't thread before daemonising.
This commit is contained in:
@@ -165,7 +165,7 @@ def initialize(config_file):
|
|||||||
|
|
||||||
# Refresh the users list on startup
|
# Refresh the users list on startup
|
||||||
if CONFIG.PMS_TOKEN and CONFIG.REFRESH_USERS_ON_STARTUP:
|
if CONFIG.PMS_TOKEN and CONFIG.REFRESH_USERS_ON_STARTUP:
|
||||||
threading.Thread(target=plextv.refresh_users).start()
|
plextv.refresh_users()
|
||||||
|
|
||||||
# Store the original umask
|
# Store the original umask
|
||||||
UMASK = os.umask(0)
|
UMASK = os.umask(0)
|
||||||
|
Reference in New Issue
Block a user