Scala在生产中启动Play服务器 [英] Scala start Play server in production

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

问题描述

我在EC2上部署了Play 2.0应用程序,并使用play start启动该应用程序,并且该应用程序在后台运行,我可以按Ctrl-D,该过程将继续在后台运行,但是在一会儿(15或20分钟?),不知道为什么.我通常在启动应用程序后退出ssh会话,我希望那不是原因.

I have a Play 2.0 app deployed on EC2 and I start the app with play start and it runs in the background, I can hit Ctrl-D and the process will continue to run in the background but then it dies after a while (15 or 20 mins?), not sure why. I usually exit the ssh session after starting the app, I'm hoping that's not the reason.

推荐答案

nohup play start为我工作.

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

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