How to stop Redmine?

Added by Thomas Jensen over 2 years ago

I am new to Ruby and Redmine. I run Redmine on a Raspberry Pi (redmine-3.3.1-4+deb9u2) and I start it with "bundle exec rails server -d -b 192.168.87.120 -p 80 webrick -e production". But how do I stop or reload/restart Redmine?

Thanks...

Replies (2)

RE: How to stop Redmine? - Added by Bernhard Rohloff over 2 years ago

Hey Thomas,

welcome to the Redmine community!
I think you have already figured it out but to not leave this thread without an answer here's mine.

AFAIK the only way to restart the server is killing the process and start it again.

So just find your process (ruby) with for example netstat -tulpn and kill it.
After that you can start Redmine again.

Greetings,

Bernhard

RE: How to stop Redmine? - Added by Thomas Jensen over 2 years ago

Thank you very much. Well, I knew I could kill it, but I thought there were a 'proper' way to stop and reload/restart. Btw, the command "cat /usr/share/redmine/tmp/pids/server.pid" also give the pid, so that may be better (in scripts, ect.).

Well, thanks again...

(1-2/2)