I currently have a Redmine installation on a local server for our office to use. The problem is that sometimes, when I run the redmine server using:

ruby script/server webrick -e production

it will sometime kill the process due to some error. The error is not the issue, but what I want is a way to re-run the process, and have it automatically run whenever it is seen not running.

How do i do this?

link|improve this question
feedback

1 Answer

up vote 0 down vote accepted

Run it under process supervisor, which will try (and possibly succeed) to start process again after it has died. I suggest supervisord, but you can also try daemontools ar monit.

link|improve this answer
Thanks for your answer! :) – Nikko Jul 27 '10 at 3:35
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.