https://github.com/playframework/Play20/wiki/Production
https://github.com/playframework/Play20/wiki/ProductionDist
--To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/U63tUoj8DZ4J.
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
Then type
Ctrl+a then d
Your play app will run in background.
--
Guillaume Bort
I'm not sure what you mean by "play2 start 9090" as there is no play2 command. When you run "play dist" it generates a start script. I don't believe that running that start script runs the app as a daemon.
#!/sbin/runscript
INSTANCE="${SVCNAME#*.}"PATH="/data/$INSTANCE"depend() {need netuse dns}start() {ebegin "Starting Play! app: $INSTANCE"play start "$PATH"eend $?}stop() {ebegin "Stopping Play! app: $INSTANCE"play stop "$PATH"eend $?}
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/TTpCQ5NQCxUJ.
Java Service Wrapper looks interesting. Ultimately I think that we would want the Play server to include it by implementing WrapperListener. It's a GPL license though. Would that stop Play from being able to make use of it? Would Apache Commons Daemon or YAJSW would be a better fit due to licensing? I do see though that ActiveMQ uses the Tanukis Java Service Wrapper while still being distributed under the Apache 2.0 License, so perhaps it is fine.
To post to this group, send email to play-framework@googlegroups.com.
To unsubscribe from this group, send email to play-framework+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-framework@googlegroups.com.
To unsubscribe from this group, send email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/a_a1gGdKT6wJ.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
try:start-stop-daemon --pidfile /srv/www/play/MyPlayApp/RUNNING_PID --chuid ben --exec /srv/www/play/MyPlayApp/target/start --background --start -- -Dhttp.port=9001
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/ar2MQeHLDZAJ.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
>>>> To post to this group, send email to play-framework@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/play-framework?hl=en.
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "play-framework" group.
>>> To post to this group, send email to play-framework@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> For more options, visit this group at
>>> http://groups.google.com/group/play-framework?hl=en.
>>
>>
>>
>>
>> --
>> Gaëtan Renaudeau, @greweb
>> blog | gaetanrenaudeau.fr
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "play-framework" group.
>> To post to this group, send email to play-framework@googlegroups.com.
>> To unsubscribe from this group, send email to
>> For more options, visit this group at
>> http://groups.google.com/group/play-framework?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To post to this group, send email to play-framework@googlegroups.com.
> To unsubscribe from this group, send email to
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
--
Guillaume Bort
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/anOoRpRHYf4J.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.