Change startup state to be "init"
This commit is contained in:
parent
a87bf4bc4a
commit
1e9c225a87
2
pvcd.py
2
pvcd.py
@ -110,7 +110,7 @@ def zk_listener(state):
|
||||
pass
|
||||
|
||||
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():
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user