Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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.

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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