warreng | how can i force upstart to forget about a PID and think it's truly stopped? (the actual process is long gone but upstart just won't give it up) | 00:02 |
---|---|---|
warreng | so far, rebooting seems to be the only way... and even then, it hangs during shutdown on the process and requires a power cycle | 00:03 |
innovmon | Hi, I am using upstart with the rails Foreman gem - https://gist.github.com/2582347 here is the error. Permission denied - /etc/init/my-app.conf (Errno::EACCES) | 01:19 |
=== rioderel` is now known as rioderelfte | ||
djszapi | hey | 12:13 |
djszapi | jodh: there ? How could I make sure if there is no upstart job running, then "stop" does not terminate my post install script ? Shall I just check for the return value of "stop" ? | 12:13 |
jodh | djszapi: I don't understand your question fully, but does this help: http://upstart.ubuntu.com/cookbook/#creating-a-systemv-service-that-communicates-with-upstart-ubuntu-specific | 12:54 |
djszapi | jodh: was talking about this: http://paste.kde.org/468068/ | 15:53 |
jodh | djszapi: packages should generally call 'invoke-rc.d restart' which calls /lib/init/upstart-job and that "does the right thing" - only calls stop if the job is actually running. | 15:56 |
djszapi | jodh: I am currently achieving this: http://paste.kde.org/468074/ | 15:58 |
djszapi | jodh: why can that postinst script fail ? | 16:00 |
djszapi | jodh: what should I write instead ? | 16:13 |
jodh | djszapi: it will immediately exit if 'stop' fails due to the '-e'. See your shells man page. | 16:47 |
djszapi | jodh: so what is the recommended way of doing this ? | 16:48 |
jodh | djszapi: http://upstart.ubuntu.com/cookbook/#debugging-a-script-which-appears-to-be-behaving-oddly | 17:04 |
djszapi | jodh: I should not use -e ? | 17:05 |
JanC | djszapi: upstart uses "sh -e", nothing you can do about that | 17:10 |
JanC | but that paragraph explains how to suppress errors | 17:11 |
=== alienth_ is now known as alienth |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!