On Thu, Mar 29, 2012 at 10:10 PM, David Jeske <[email protected]> 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@desktop:~# cd /etc/init
root@desktop:/etc/init# mkdir test
root@desktop:/etc/init# touch test/job.conf
root@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
-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to