/srv/irclogs.ubuntu.com/2015/05/08/#upstart.txt

=== Cidan is now known as zz_Cidan
=== zz_Cidan is now known as Cidan
=== Cidan is now known as zz_Cidan
=== zz_Cidan is now known as Cidan
=== Cidan is now known as zz_Cidan
=== zz_Cidan is now known as Cidan
=== Cidan is now known as zz_Cidan
=== JanC_ is now known as JanC
=== zz_Cidan is now known as Cidan
astrumasHello, i have a system that is using upstart 1.5.  I have a "master" job that launches a bunch of smaller, more specific jobs. I have a generic configuration file for the children so when I start the job it looks something like: "start <job> JOB_NUMBER=2 NAME=some_worker SCRIPT_PATH=/path/to/script/child/runs"17:30
astrumasHowever, I have recently run into a problem where I need to change the user that a child job is run as... so im looking at the "setuid" option.17:31
astrumasBut it appears that if I use something like "setuid ${JOB_USER}", it doesn't expand the variable correctly, but it does for the rest of the file.17:31
astrumasIs setuid not able to use variables by design? Am I doing something wrong?17:32
solidsnackWe're running a program under Upstart that has a HUP and TERM hand handler, but when we call `reload program` the HUP handler doesn't seem to be called.18:32
solidsnackIt turns out that if a shell script is `wait()`ing then it doesn't respond to HUP.20:41
=== Cidan is now known as zz_Cidan
=== zz_Cidan is now known as Cidan
=== Cidan is now known as zz_Cidan
=== zz_Cidan is now known as Cidan

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