[11:20] <djszapi> JanC: you mentioned last time upstart runs with sh -e when I asked about my post inst script, but what has that to do with upstart ?
[11:20] <djszapi> it is just a simple maintainer script.
[11:28] <djszapi> JanC: this is my post install script: http://paste.kde.org/470960/
[11:47] <djszapi> JanC: actually, stop foobar || true even hangs the package installation :(
[11:48] <djszapi> http://paste.kde.org/470996/
[11:49] <djszapi> is there a simple way of checking if the job runs at all, and only if running, stop that instance before starting a new one ?
[22:55] <warreng> so.... i feel like it's incredibly hard to run a script as a non-root user from a specific directory (cwd)... 
[22:55] <warreng> am i missing something obvious?
[22:55] <warreng> both su and sudo will return the wrong pid if you try to do a "cd" as part of the command...
[22:55] <warreng> expects fork/daemon don't work correctly at all... etc
[22:56] <warreng> i'm using upstart 1.3...