conf-change reload issue, ui suggestions...

Evan Huus eapache at gmail.com
Mon Apr 2 16:22:04 UTC 2012


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

> Which leads to my next question. Any thoughts about allowing allowing more
> flexible config directories anywhere?
>
> I see the user-job feature, but this doesn't seem at all like what I want.
> I'd like to drop /etc/init/willow.conf that just points to another
> directory of upstart configs elsewhere.... that perhaps make a hierarchial
> service namespace.. "willow-(subservice)"
>
> I would do that by just running another copy of upstart (i.e.
> /etc/init/willow-upstart.conf), but in the manual it sounded like this
> wouldn't really work.
>

If all you're looking for is a way to hierarchically group jobs, you can
create subdirectories in /etc/init/.

For example:

root at desktop:~# cd /etc/init
root at desktop:/etc/init# mkdir test
root at desktop:/etc/init# touch test/job.conf
root at desktop:/etc/init# initctl list | grep test
test/job stop/waiting

Upstart doesn't currently give namespaces any special functionality, but
for purely organizational purposes they work fine.

I may be misunderstanding what you're trying to accomplish though.

Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20120402/704971d4/attachment.html>


More information about the upstart-devel mailing list