Remove dependence on .restart file, add reboot option to launcher
This commit is contained in:
parent
9dfd1f5ea8
commit
d6105f6d6c
7 changed files with 173 additions and 131 deletions
|
|
@ -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."))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue