Reputation: 1462
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 24x7 so jobs are executed and if the process stops for some reason to start it up again?
Upvotes: 1
Views: 915
Reputation: 2020
You can use a process monitor
such as god, bluepill and monit to achieve what you require.
Resque includes some example configurations to get you started with god and monit:
Upvotes: 2