Hum... interesting. In Ubuntu tomcat6, the catalina.out
is handled in init script.

1. Download tomcat6_6.0.35-6.debian.tar.gz from
http://packages.ubuntu.com/raring/tomcat6
2. untar it and look into the init script
--------------------
:
        touch "$CATALINA_PID" "$CATALINA_BASE"/logs/catalina.out
        chown $TOMCAT6_USER "$CATALINA_PID" "$CATALINA_BASE"/logs/catalina.out
:
--------------------

I'd like to put a patch in reviewboard soon.


(2013/06/04 14:49), Prasanna Santhanam wrote:
On Tue, Jun 04, 2013 at 11:26:01AM +0900, Hiroaki KAWAI wrote:
HI,

I looked into tomcat6.spec file, the catalina.out
stuff seems to be handled in rpm installation process.
------------------------
%install
:
/bin/touch ${RPM_BUILD_ROOT}%{logdir}/catalina.out
:

%files
:
%attr(0644,tomcat,tomcat) %{logdir}/catalina.out
:
------------------------

So I'd like to suggest to do as such in our cloudstack spec file, too.


Thanks, this is more elegant for RPMs. I'm trying the fix now. But the
hack I put in should work for debian packages too.


Reply via email to