Hello,

I would like to make the following suggestion for the Tomcat 4 RPM file:

To conform with Red Hat's policy, and at the same time simplify the 
installation process, the following two files should be placed in
the Red Hat compliant /etc/profile.d directory (these are used
to set environment variables upon startup from various RPM
packages):

$ cat /etc/profile.d/tomcat.csh
# Tomcat initialization script (csh)
if ( $?CATALINA_HOME ) then
         exit
endif
setenv CATALINA_HOME /var/tomcat4

... and ...

$ cat /etc/profile.d/tomcat.sh
# Tomcat initialization script (sh)
if [ -z "$CATALINA_HOME" ] ; then
        CATALINA_HOME="/var/tomcat4"
fi
export CATALINA_HOME


This sets CATALINA_HOME correctly according to the current installation of 
tomcat4 under /var/tomcat4 (whose correctness according to FHS I am not
yet convinced of).

Thanks!

Neil


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to