How to stop a Daemon Server in Rails?

前端 未结 15 601
灰色年华
灰色年华 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:30

    Like Ryan said:

    the pid you want is in tmp/pids/

    probably server.pid is the file you want.

    You should be able to run kill -9 $(cat tmp/pids/server.pid) to bring down a daemonized server.

提交回复
热议问题