[17:30] <astrumas> Hello, 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:31] <astrumas> However, 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] <astrumas> But 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:32] <astrumas> Is setuid not able to use variables by design? Am I doing something wrong?
[18:32] <solidsnack> We'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.
[20:41] <solidsnack> It turns out that if a shell script is `wait()`ing then it doesn't respond to HUP.