Remove dependence on .restart file, add reboot option to launcher

This commit is contained in:
Griatch 2018-01-20 12:41:27 +01:00
parent 9dfd1f5ea8
commit d6105f6d6c
7 changed files with 173 additions and 131 deletions

View file

@ -379,8 +379,10 @@ class ServerSessionHandler(SessionHandler):
self[sessid] = sess
sess.at_sync()
mode = 'reload'
# tell the server hook we synced
self.server.at_post_portal_sync()
self.server.at_post_portal_sync(mode)
# announce the reconnection
self.announce_all(_(" ... Server restarted."))