Browse Source

Merge "Fix error handling for pidfile" into feature/zuulv3

changes/59/532459/1
Zuul 5 years ago committed by Gerrit Code Review
parent
commit
452ca6bbb6
  1. 3
      zuul/cmd/__init__.py

3
zuul/cmd/__init__.py

@ -181,8 +181,9 @@ class ZuulDaemonApp(ZuulApp):
else:
# Exercise the pidfile before we do anything else (including
# logging or daemonizing)
with daemon.DaemonContext(pidfile=pid):
with pid:
pass
with daemon.DaemonContext(pidfile=pid):
self.run()

Loading…
Cancel
Save