In the old days, the init daemon used to disable tasks that were respawning too fast.
I discovered to my peril that UPSTART just stops them. forever.
I have found the COUNT and INTERVAL controls for when to stop a job that is respawning fast, but I cannot find how to restart that job after a specified waiting time.
- This is for a remote server that must connect via ssh in order for me to tunnel back into it. But it regularly has connection problems and the job that runs the ssh connection is dying! I foolishly expected upstart to keep the job running.
Is there a way, or do I need to do something like run a cron job to check if it is running and if not restart it?