Merge "Enable systemd notify sockets for more daemons"
This commit is contained in:
commit
cb1f679da6
|
@ -145,6 +145,7 @@ class DaemonStrategy(object):
|
||||||
|
|
||||||
signal.signal(signal.SIGTERM, kill_children)
|
signal.signal(signal.SIGTERM, kill_children)
|
||||||
self.running = True
|
self.running = True
|
||||||
|
utils.systemd_notify(self.logger)
|
||||||
|
|
||||||
def _run_inline(self, once=False, **kwargs):
|
def _run_inline(self, once=False, **kwargs):
|
||||||
"""Run the daemon"""
|
"""Run the daemon"""
|
||||||
|
|
Loading…
Reference in New Issue