diff --git a/pvcd.py b/pvcd.py index 09b549df..cbece4c2 100755 --- a/pvcd.py +++ b/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: