pre-stop exec false => should prevent the job getting stopped
Bug #1294753 reported by
Dimitri John Ledkov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
New
|
Undecided
|
Unassigned |
Bug Description
A simple job:
pre-stop exec false
Should be impossible to stop. Yet the job ends up in "stop/waiting" state if stopped interactively or via "stop on" event, with or without main process running.
To post a comment you must log in.
I think you may have just provided the rationale for not doing this: having a job that is "unstoppable" sounds dangerous.