[Bug 924301] [NEW] normal exit TERM is not working every time
Sworddragon
924301 at bugs.launchpad.net
Tue Jan 31 13:57:41 UTC 2012
Public bug reported:
I'm using Ubuntu 12.04 dev with upstart 1.4-0ubuntu4. I have written a
script which uses the respawn stanza and TERM as a normal exit. But on
some commands the process will respawn and on other commands not (like
expected) if I use a SIGTERM on the process. Here are 2 examples:
normal exit 0 KILL TERM
respawn
respawn limit 2 60
exec sleep 60
A SIGTERM on the "sleep 60" process will not cause it to respawn.
normal exit 0 KILL TERM
respawn
respawn limit 2 60
exec java -jar /usr/local/bin/minecraft_server.jar nogui
A SIGTERM on the java process will cause it to respawn. I don't know why
it is respawning. It is the only process that is created and a SIGTERM
shouldn't cause it to respawn.
** Affects: upstart (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/924301
Title:
normal exit TERM is not working every time
Status in “upstart” package in Ubuntu:
New
Bug description:
I'm using Ubuntu 12.04 dev with upstart 1.4-0ubuntu4. I have written a
script which uses the respawn stanza and TERM as a normal exit. But on
some commands the process will respawn and on other commands not (like
expected) if I use a SIGTERM on the process. Here are 2 examples:
normal exit 0 KILL TERM
respawn
respawn limit 2 60
exec sleep 60
A SIGTERM on the "sleep 60" process will not cause it to respawn.
normal exit 0 KILL TERM
respawn
respawn limit 2 60
exec java -jar /usr/local/bin/minecraft_server.jar nogui
A SIGTERM on the java process will cause it to respawn. I don't know
why it is respawning. It is the only process that is created and a
SIGTERM shouldn't cause it to respawn.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/924301/+subscriptions
More information about the foundations-bugs
mailing list