<div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Thanks for your reply, <a class="gmail_plusreply" id="gmail-plusReplyChip-0">@Doug and @Jim</a></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br><font face="trebuchet ms, sans-serif">Cheers,<br>Lingxian Kong</font></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr">On Thu, May 17, 2018 at 2:23 AM Jim Rollenhagen <<a href="mailto:jim@jimrollenhagen.com">jim@jimrollenhagen.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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="m_2741352880279031856gmail-">> 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" target="_blank">http://lists.openstack.org/pipermail/openstack-dev/2018-March/128797.html</a></div><div><br></div><div>// jim</div></div></div></div>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>