Fixed bug where settings were not reloaded from DB when server is launched

This commit is contained in:
Andrew McManus 2021-07-25 11:28:09 -04:00
parent f5cc582334
commit 12db23f6e6

View File

@ -115,6 +115,8 @@ class Server:
def start_server(self):
logger.info("Start command detected. Reloading settings from DB for server {}".format(self.name))
self.setup_server_run_command()
# fail safe in case we try to start something already running
if self.check_running():
logger.error("Server is already running - Cancelling Startup")