1

I have run Webrick server (Redmine) using this command: ruby script/rails server webrick -e production -d. Now I would like to stop the server, but sending a SIGTERM signal or calling kill doesn't work. How to stop the server?

2 Answers2

1

Send it a SIGKILL (e.g. by calling kill -9 <pid of ruby> or kill -KILL <pid of ruby>).

zhenech
  • 1,492
  • 9
  • 13
-1

You can just pkill ruby hoping that nothing else ruby runs ;-)

Marki
  • 2,854
  • 3
  • 28
  • 45