Set the daemon into startup state on boot
This commit is contained in:
parent
bb1d0c6c5b
commit
eca7ca4958
1
pvcd.py
1
pvcd.py
@ -110,6 +110,7 @@ def zk_listener(state):
|
||||
pass
|
||||
|
||||
zk.add_listener(zk_listener)
|
||||
zk.set('/nodes/{}/daemonstate'.format(myhostname), 'startup'.encode('ascii'))
|
||||
|
||||
def cleanup():
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user