reboot on init panic instead of restart
Asked by
Alex Nekrasov
upstart 0.3.9
I'm trying to deal with the following situation:
- have some jobs running
- init panics. There's a core, etc. This is not a problem
- init restarts
- the jobs are still running, but initctl status does not know about it. This is a problem
- system becomes incoherent, for example Linux HA resources get cloned, etc., for they query Upstart for status. All kind of bad things happen from here on
I need to tell init to reboot the machine when it crashes or I need it to notify me right away - call or emit something, etc.
Is there a way to do that?
thanks,
Alex
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- upstart Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Scott James Remnant (Canonical)
- Solved:
- Last query:
- Last reply:
To post a message you must log in.