Sync from Oslo-Incubator - reload config files
Syncing change I132865fc5c3a12baf02f2991fc82701adfc7ed67 from oslo-incubator to fix a Nova bug Closes-Bug: #1433142 Change-Id: Ia4077324f23c6cbdaa54c79341992528f6c6d2cd
This commit is contained in:
parent
7f5462777b
commit
31dfcac610
|
@ -391,8 +391,14 @@ class ProcessLauncher(object):
|
|||
if not _is_sighup_and_daemon(self.sigcaught):
|
||||
break
|
||||
|
||||
cfg.CONF.reload_config_files()
|
||||
for service in set(
|
||||
[wrap.service for wrap in self.children.values()]):
|
||||
service.reset()
|
||||
|
||||
for pid in self.children:
|
||||
os.kill(pid, signal.SIGHUP)
|
||||
|
||||
self.running = True
|
||||
self.sigcaught = None
|
||||
except eventlet.greenlet.GreenletExit:
|
||||
|
|
Loading…
Reference in New Issue