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

  • Error Docker deployment in Amazon Elastic Beanstalk - Docker container quit unexpectedly
  • How to change Docker ENV var?
  • Symfony can't connect to MySQL Docker container
  • Docker git clone on container launch?
  • The requested URL was not found on this server but works local
  • Docker- what real value does it bring for our team?
  • Yet when I start my app the RUNNING_PID file is created in root directory and the /var/run/play.pid remains empty

  • What are the benefits of provisioning a Docker container with Ansible instead of a Dockerfile?
  • How to deal with transactional logs in Fabric8?
  • How to avoid copying all the docker context directory?
  • Execute rake tasks from a container to an other
  • flannel tunnel solution in kubernetes
  • Docker default CPU architecture doesn't match host's
  • One Solution collect form web for “Play change RUNNING_PID file path”

    Put

    play.server.pidfile.path=/var/run/RUNNING_PID
    

    in your application.conf

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