Change startup state to be "init"

This commit is contained in:
Joshua Boniface 2018-06-12 01:55:06 -04:00
parent a87bf4bc4a
commit 1e9c225a87
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ def zk_listener(state):
pass pass
zk.add_listener(zk_listener) zk.add_listener(zk_listener)
zk.set('/nodes/{}/daemonstate'.format(myhostname), 'startup'.encode('ascii')) zk.set('/nodes/{}/daemonstate'.format(myhostname), 'init'.encode('ascii'))
def cleanup(): def cleanup():
try: try: