Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 581
Liza Shakury Avatar asked Oct 19 '25 21:10

Liza Shakury


1 Answers

Put

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

in your application.conf

like image 114
mkurz Avatar answered Oct 23 '25 00:10

mkurz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!