Play change RUNNING_PID file path

a 夏天 提交于 2020-01-15 03:55:10

问题


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

Yet when I start my app the RUNNING_PID file is created in root directory and the /var/run/play.pid remains empty


回答1:


Put

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

in your application.conf



来源:https://stackoverflow.com/questions/35149196/play-change-running-pid-file-path

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!