I have a service process monitored by Upstart on Ubuntu.
If that process dies abnormally, I don't want to try to respawn it. Instead, I would like to throw a notification and shut down the entire instance for disposal, which I would probably do by running a shell command or script.
What is the best way to have Upstart do something other than respawning when a process dies?