Working start/reload/reset/stop from launcher

This commit is contained in:
Griatch 2018-01-14 22:53:36 +01:00
parent ef999362c7
commit 5133034b4b
7 changed files with 136 additions and 56 deletions

View file

@ -366,6 +366,7 @@ class Evennia(object):
once - in both cases the reactor is
dead/stopping already.
"""
print("server.shutdown mode=", mode)
if _reactor_stopping and hasattr(self, "shutdown_complete"):
# this means we have already passed through this method
# once; we don't need to run the shutdown procedure again.