如何在sbt中运行Play2.5.x作为守护进程?

时间:2017-05-27 02:28:22

标签: sbt

我尝试在sbt run的测试环境中部署我的Play项目 它可以很容易地测试和更新团队内部的源代码 但是当我离开ssh会话时,sbt(v0.13.15)进程和Play进程将被关闭 我尝试过:
setsid sbt "run -Dhttp.port=9001 -Dhttp.address=192.168.1.230" &

nohup sbt "run -Dhttp.port=9001 -Dhttp.address=192.168.1.230" &

sbt -Djline.terminal=jline.UnsupportedTerminal "run -Dhttp.port=9004 -Dhttp.address=192.168.1.230" &

setsid nohup sbt "run -Dhttp.port=9001 -Dhttp.address=192.168.1.230" &

希望有所帮助。谢谢

0 个答案:

没有答案
相关问题