I have an upstart script which runs a node.js deamon continuously.
What I'm trying to do is to restart this daemon when/if it fails.
I have little or no idea how to go about this.
Any insight greatly appreciated,
Add the following line to the end of your upstart script:
That's exactly for the case you described: Upstart then watches it and starts it as soon it is "exiting" -- with just one exception: If it is intentionally stopped by