/srv/irclogs.ubuntu.com/2014/06/17/#upstart.txt

xnoxlfaraone: you need two jobs.00:37
lfaraonexnox: okay. Can I, like, make them symlinks and key off the job name>00:37
lfaraone*?00:37
xnoxlfaraone: no, symlinks are rejected00:37
lfaraonexnox: hard links?00:38
lfaraone:)00:38
xnoxlfaraone: you can make an "instance job" and thus have variable(s) that are replaced, but at boot only one instance would be started, unless you provide for multiple events to be emitted00:38
xnoxlfaraone: look at e.g. networking-interface.conf job in ubuntu00:38
PierrePaulhi everyone :)18:59
PierrePaulgot a very good upstart question (I think)18:59
PierrePaulI want to pass ENV vars to my process, the values of those vars are in /etc/environment19:00
PierrePaulI'd like to use the 'env myvar=value' in my upstart script as defined by documentation19:00
PierrePaulbut I cant see to be able to do : env myvar=$MYVAR19:00
PierrePaulso I tried to inject it in the exec, exec SUPERVAR=bleh /usr/sbin/php5-fpm .......19:01
PierrePaulbut exec of course hated that19:01
PierrePaulso I moved my exec() to a 'script ... end script' stanza19:01
PierrePaulbut now it seems to affect some other internals, I would guess it calls start-stop-daemon internally and the $NAME is wrongly set 19:02
PierrePaulanyone has an idea?19:03
occupantso I'm running ancient upstart that doesn't have uid/gid. yeah, centos.23:03
occupantis there any way to start something as another user and have respawn actually work?23:04

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