Don't thread before daemonising.

This commit is contained in:
Tim 2015-08-04 22:22:42 +02:00
parent a393d1a50a
commit f80429ef7a

View file

@ -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)