Re: What the Tomcat 4 RPM files forgot to do.

2003-06-24 Thread Bill Barker
I'm not certain that the RPM developers monitor this list closely.  I'd
suggest posting this as an Enhancement to
http://nagoya.apache.org/bugzilla to give it more attention.

Neil Zanella [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 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]



What the Tomcat 4 RPM files forgot to do.

2003-06-23 Thread Neil Zanella

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]