/srv/irclogs.ubuntu.com/2011/08/01/#upstart.txt

gdoubleuis there any documentation out there about how to run with additional upstart scripts in a directory outside of /etc/init?16:12
gdoubleufrom the FAQ about symbolic links in /etc/init it seems that this is only possible with user jobs16:15
gdoubleubut I'm not seeing any docs about user jobs16:15
marruslgdoubleu, take a look here:  http://upstart.ubuntu.com/cookbook/#running-upstart-as-a-non-privileged-user16:31
marruslnote: as mentioned there, it's designed for testing only.16:33
gdoubleumarrusl, and is running as a non-privileged user the only way running scripts from another directory is possible?16:35
gdoubleuI'm using RHEL6 here, where the upstart version is only 0.6.516:35
marruslgdoubleu, so it seems.16:35
marruslgdoubleu, ah, so even that would not work.\16:36
gdoubleumarrusl, do you know if it's possible to put upstart conf files within a subdirectory under /etc/init, e.g. /etc/init/myproj/*.conf16:37
marruslgdoubleu, I've never tried a subdirectory.  worth a shot.  16:39
gdoubleunm, just tried it and I guess it is.  just have to specify the directory name in front of the service name16:39
marruslthe cookbook does say "all system job configuration files must live in or below /etc/init16:39
marruslnice.16:39
gdoubleujust tried a "start myproj/nginx" with a conf file at /etc/init/myproj/nginx.conf and it worked16:39
marruslgdoubleu, that's pretty neat actually.  thx for bringing it up.16:40
gdoubleunow, it would be really cool if you could do something like "start myproj/" and startup all jobs in that subdirectory16:42
gdoubleumarrusl, thanks for the info.  I guess I just have to roll with subdirectories for now16:44
marruslgdoubleu, yep.  I guess making sure all jobs are available from early boot (hence forcing all jobs under the rootfs)is a design decision you're not going to get around.16:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!