How to run Play2.5.x in sbt as daemon?

I am trying to deploy my Play project in a test environment on sbt run

.
It can be easy to check and update the source code within the team.
But the sbt process (v0.13.15) and the playback process will be closed when I leave the ssh session.
I have an attempt:
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" &

Hope for help. thank

+3


source to share





All Articles