<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, May 16, 2018 at 9:55 AM, Doug Hellmann <span dir="ltr"><<a href="mailto:doug@doughellmann.com" target="_blank">doug@doughellmann.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Excerpts from Lingxian Kong's message of 2018-05-16 11:12:01 +1200:<br>
<span class="gmail-">> Hi,<br>
> <br>
> Maybe I missed the original discussion, I found the 'mutable' configuration<br>
> implementation relies on oslo.service, but is there any guide for the<br>
> projects using cotyledon instead?<br>
<br>
</span>oslo.service implements the signal handler natively, but the feature<br>
does not rely on oslo.service. The method in oslo.config that does the<br>
work makes no assumptions about what triggers it. We did this on purpose<br>
to support projects that do not use oslo.service.<br>
<br>
I don't know enough about cotyledon to tell you how to do it, but you<br>
need to set up a signal handler so that SIGHUP invokes the<br>
mutate_config_files() method of the ConfigOpts instance being used by<br>
the application.<br></blockquote><div><br></div><div>This was asked in another thread, see my reply :)</div><div><a href="http://lists.openstack.org/pipermail/openstack-dev/2018-March/128797.html">http://lists.openstack.org/pipermail/openstack-dev/2018-March/128797.html</a></div><div><br></div><div>// jim</div></div></div></div>