conf-change reload issue, ui suggestions...

David Jeske davidj at gmail.com
Fri Mar 30 01:34:32 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..
>

shortly after sending this, I realized what might be related... I'm
sym-linking from my /etc/init/willow-smtpd.conf ->
/home/willow/.....(actual file under source control)

The man-page says upstart uses inotify, so I figured it wouldn't see my
edits without my manual reload.

However, even with my manual reload it didn't see my changes.. like it's
checking the mod-date (in this case of the symlink) and being
too-smart-for-its-own-good and not reloading the file.

copying the "regular file" into /etc/init instead of using the symlink made
my problem go away.

Is there some reason that symlinking into there is an intentionally
unsupported behavior?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20120329/544332a5/attachment.html>


More information about the upstart-devel mailing list