summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openstack/common/service.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack/common/service.py b/openstack/common/service.py
index 60099e94..d286a2f9 100644
--- a/openstack/common/service.py
+++ b/openstack/common/service.py
@@ -190,6 +190,7 @@ class ServiceLauncher(Launcher):
return status, signo
def wait(self, ready_callback=None):
+ systemd.notify_once()
while True:
self.handle_signal()
status, signo = self._wait_for_exit_or_signal(ready_callback)
@@ -382,6 +383,7 @@ class ProcessLauncher(object):
def wait(self):
"""Loop waiting on children to die and respawning as necessary."""
+ systemd.notify_once()
LOG.debug('Full set of CONF:')
CONF.log_opt_values(LOG, std_logging.DEBUG)
@@ -488,7 +490,6 @@ class Services(object):
"""
service.start()
- systemd.notify_once()
done.wait()