mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fixed bug where settings were not reloaded from DB when server is launched
This commit is contained in:
parent
f5cc582334
commit
12db23f6e6
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user