https://bz.apache.org/bugzilla/show_bug.cgi?id=65970

--- Comment #2 from Konstantin Kolinko <knst.koli...@gmail.com> ---
(In reply to Christopher Schultz from comment #1)
> A better solution for you might be to place your PID file on volatile
> storage, or somewhere the OS will clear-out upon reboot, like /tmp.

+1

The current Filesystem Hierarchy Standard (FHS) 3.0 says that there is the
"/run/" directory for this purpose.

(I am used to an older variant of that, "/var/run/", which is now obsoleted).

References from FHS 3.0:

https://refspecs.linuxfoundation.org/FHS_3.0/fhs.html#runRuntimeVariableData
3.15. /run : Run-time variable data

https://refspecs.linuxfoundation.org/FHS_3.0/fhs.html#varrunRuntimeVariableData
5.13. /var/run : Run-time variable data

BTW, Wikipedia:
https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard


A good place to set your value for CATALINA_PID environment variable is a
setenv.sh file ($CATALINA_BASE/bin/setenv.sh), as documented in RUNNING.txt.


I think this issue is going to be closed as WONTFIX. Maybe some docs need an
improvement?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to