[英]how can I run rails server daemon?
I am new at rails world and need to run my rails test server in daemon mode..我是 rails world 的新手,需要在守护进程模式下运行我的 rails 测试服务器..
I've noticed that there is aa -d flag but its not working for me..我注意到有 aa -d 标志,但它对我不起作用..
rails -s -d
shouldn't it be like this?不应该是这样吗?
It should be:它应该是:
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.