https://issues.apache.org/bugzilla/show_bug.cgi?id=50084

--- Comment #1 from Konstantin Kolinko <knst.koli...@gmail.com> 2010-10-13 
08:42:26 EDT ---
What is your suggestion how to deal with it?

I might think about truncating the stale PID file instead of deleting it.


To truncate a file one might redirect empty output to it, as shown in [1],
using the "colon" (no-op) command:

:>"$CATALINA_PID"

[1]
http://linuxdemon.blogspot.com/2007/06/how-to-truncate-file-in-unixlinux.html

The following also works:
true>"$CATALINA_PID"

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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