mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Add log message on restart
This commit is contained in:
parent
6d938cabc8
commit
447e04cb8e
@ -862,6 +862,9 @@ class ServerInstance:
|
||||
if not self.check_running():
|
||||
self.run_threaded_server(user_id)
|
||||
else:
|
||||
logger.info(
|
||||
f"Restart command detected. Sending stop command to {self.server_id}."
|
||||
)
|
||||
self.stop_threaded_server()
|
||||
time.sleep(2)
|
||||
self.run_threaded_server(user_id)
|
||||
|
Loading…
Reference in New Issue
Block a user