Reputation: 1927
I want to understand where the RUNNING_PID file is written in Play application. I know the location where it is written. I wanted to understand at what point when you start the application is the RUNNING_PID file written? Is it written by the JVM process which the shell script starts or by the shell script which starts the application?
Upvotes: 1
Views: 3013
Reputation: 95
Sorry, i can't post a comment yet, so my answer goes here. In order to delete the process based on the pid file, you can follow this script:
pid=
cat ${PATH_TO}/RUNNING_PID
kill $pid
Upvotes: -3
Reputation: 12850
It's written by the JVM process which the shell script starts:
Upvotes: 4