Add log message on restart

This commit is contained in:
amcmanu3 2023-10-05 16:22:42 -04:00
parent 6d938cabc8
commit 447e04cb8e

View File

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