evennia.server.portal.service¶
-
class
evennia.server.portal.service.
EvenniaPortalService
(*args, **kwargs)[source]¶ Bases:
twisted.application.service.MultiService
-
shutdown
(_reactor_stopping=False, _stop_server=False)[source]¶ Shuts down the server from inside it.
- Parameters
_reactor_stopping (bool, optional) – This is set if server is already in the process of shutting down; in this case we don’t need to stop it again.
_stop_server (bool, optional) – Only used in portal-interactive mode; makes sure to stop the Server cleanly.
Note that restarting (regardless of the setting) will not work if the Portal is currently running in daemon mode. In that case it always needs to be restarted manually.
-