Any chance that the stock scripts might someday use 'jsvc', since
Tomcat is set up to run that way? Then Tomcat can be easily started
as root (and won't have to worry about permission to create PID files)
but run as someone else.
--
Mark H. Wood, Lead System Programmer mw...@iupui.edu
Balance
Am Thu, 8 Apr 2010 15:16:36 -0400
schrieb "Eric B." :
> So what my init.d script currently does is pre-create an empty pid
> file in the /var/run directory, then changes ownership of it to
> "tomcat" so that tomcat can then update it with the actual pid of the
> tomcat process.
>
> Given that the