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
|
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:
|
||||||
|
|
Loading…
Reference in New Issue