如何在后台启动rails服务器 [英] How to start rails server in background

查看:28
本文介绍了如何在后台启动rails服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行 ruby​​ script/server -e test 时,它会在控制台上运行.当我关闭控制台时,它也会停止该过程.我想在后台运行服务器.我该怎么做?

When I run ruby script/server -e test, it runs on console. When I close the console, it also stops the process. I want to run the server in background. How can I do this?

推荐答案

您可以使用 script/server -d

这篇关于如何在后台启动rails服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆