How to stop a Daemon Server in Rails?

前端 未结 15 608
灰色年华
灰色年华 2020-12-12 09:52

I am running my rails application using the following

  $script/server -d webrick 

on my Ubuntu system , above command run the webrick s

15条回答
  •  借酒劲吻你
    2020-12-12 10:31

    In your terminal to find out the process id (PID):

    $ lsof -wni tcp:3000
    

    Then, use the number in the PID column to kill the process:

    $ kill -9 
    

提交回复
热议问题