How to stop a Daemon Server in Rails?

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

    i don't think it does if you use -d. I'd just kill the process.

    In the future, just open up another terminal window instead and use the command without -d, it provides some really useful debugging output.

    If this is production, use something like passenger or thin, so that they're easy to stop the processes or restart the servers

提交回复
热议问题