Play change RUNNING_PID file path

I am trying to store the RUNNING_PID file at /var/run instead of root directory.
Tried all the options suggested at:
Another SO question about the subject

and the solution play suggest in their documnetation: Play additional configuration

  • docker mesosphere marathon - unable to see running process inside a docker container
  • RabbitMQ loading users from property file
  • Docker run without setting WORKDIR doesn't work
  • user unbound variable on docker run
  • Bundle install failes on docker
  • Docker and OpenStack Benchmarking
  • Yet when I start my app the RUNNING_PID file is created in root directory and the /var/run/ remains empty

  • kubectl run does not create replicacontroller
  • Cannot connect to the Docker daemon. Is the docker daemon running on this host?
  • How to compose a container from a Image and layer in Docker 1.10
  • Docker WSO2 Publisher: Failed to load class “org.slf4j.impl.StaticLoggerBinder”
  • Docker portability issues with locally saved images
  • Docker RUN does NOT persist files
  • One Solution collect form web for “Play change RUNNING_PID file path”



    in your application.conf

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.