[11:20] 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] it is just a simple maintainer script. [11:28] JanC: this is my post install script: http://paste.kde.org/470960/ [11:47] JanC: actually, stop foobar || true even hangs the package installation :( [11:48] http://paste.kde.org/470996/ [11:49] 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] so.... i feel like it's incredibly hard to run a script as a non-root user from a specific directory (cwd)... [22:55] am i missing something obvious? [22:55] both su and sudo will return the wrong pid if you try to do a "cd" as part of the command... [22:55] expects fork/daemon don't work correctly at all... etc [22:56] i'm using upstart 1.3...