I don’t see any specific configuration for different OS deployments such as typical deployment modes for Windows and Linux with examples.
As an example configuring it to run on Linux as a SystemD service, my configuration looks like:
[Unit] Description=My Service After=network.target [Service] EnvironmentFile=/home/my-service/env PIDFile=/home/my-service/app/RUNNING_PID WorkingDirectory=/home/my-service/app/ ExecStart=/home/my-service/bin/my-service -Dplay.http.secret.key=$SCALA_MY_SERVICE_APP_SECRET Restart=on-failure User=my-service Group=my-service # See http://serverfault.com/a/695863 SuccessExitStatus=143 [Install] WantedBy=multi-user.target
Are there any standard and recommended ways for deploying a Play app in a Linux env ?
Are there official configuration examples or recommended best-practices for deploying it as a service?
Why not include specific documentation for each OS (Linux, Windows) and have each one its own page in a separate section in the website under deployment?