/srv/irclogs.ubuntu.com/2012/05/07/#upstart.txt

djszapiJanC: 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
djszapiit is just a simple maintainer script.11:20
djszapiJanC: this is my post install script: http://paste.kde.org/470960/11:28
djszapiJanC: actually, stop foobar || true even hangs the package installation :(11:47
djszapihttp://paste.kde.org/470996/11:48
djszapiis there a simple way of checking if the job runs at all, and only if running, stop that instance before starting a new one ?11:49
warrengso.... i feel like it's incredibly hard to run a script as a non-root user from a specific directory (cwd)... 22:55
warrengam i missing something obvious?22:55
warrengboth su and sudo will return the wrong pid if you try to do a "cd" as part of the command...22:55
warrengexpects fork/daemon don't work correctly at all... etc22:55
warrengi'm using upstart 1.3...22:56

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