I’m building some middleware to look for and process incoming files.
I’ve setup Resque to queue and execute jobs.
What is the best way to setup my Ubuntu server to keep the resque process running 24×7 so jobs are executed and if the process stops for some reason to start it up again?
You can use a
process monitorsuch as god, bluepill and monit to achieve what you require.Resque includes some example configurations to get you started with god and monit: