簡體   English   中英

如何運行 Rails 服務器守護進程?

[英]how can I run rails server daemon?

我是 rails world 的新手,需要在守護進程模式下運行我的 rails 測試服務器..

我注意到有 aa -d 標志,但它對我不起作用..

rails -s -d 

不應該是這樣嗎?

它應該是:

rails server --daemon

# to kill the server
kill `cat tmp/pids/server.pid`

# to tail development logs for debugging
tail -f log/development.log

值得嘗試以下命令

$ rails s -d

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM