Ensure daemon mode is updated on startup
Fixes the side effect of the previous bug during deploys of 0.9.22.
This commit is contained in:
parent
a8c28786dd
commit
5b6ef71909
|
@ -791,6 +791,7 @@ if zkhandler.exists(('node', myhostname)):
|
|||
logger.out("Node is " + fmt_green + "present" + fmt_end + " in Zookeeper", state='i')
|
||||
# Update static data just in case it's changed
|
||||
zkhandler.write([
|
||||
(('node', myhostname), config['daemon_mode']),
|
||||
(('node.mode', myhostname), config['daemon_mode']),
|
||||
(('node.state.daemon', myhostname), 'init'),
|
||||
(('node.state.router', myhostname), init_routerstate),
|
||||
|
|
Loading…
Reference in New Issue