conf-change reload issue, ui suggestions...

Scott James Remnant scott at netsplit.com
Fri Mar 30 02:21:52 UTC 2012


On Thu, Mar 29, 2012 at 6:20 PM, David Jeske <davidj at gmail.com> wrote:


> 1) I'm having trouble where I edit my /etc/init/myprog.conf file, initctl
> reload-config, then initctl restart myprog, and my config changes are
> obviously not being used..
>
>
Right.

Restart in Upstart means "restart the currently running service", it's
intended to be a safe, atomic operation without unexpected side-effects.

By design this uses the old version of the configuration because the issuer
may not know that the service has been changed and may be relying on
features of the old version of the service no longer present in the new.

If you want a new service of that name, with the new configuration, the
correct method is:

  initctl stop myprog && initctl start myprog

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20120329/1424628e/attachment-0001.html>


More information about the upstart-devel mailing list