You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/06/26 13:15:13 UTC
DO NOT REPLY [Bug 21105] New: -
Tomcat RPM: /etc/profile.d
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21105>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21105
Tomcat RPM: /etc/profile.d
Summary: Tomcat RPM: /etc/profile.d
Product: Tomcat 5
Version: 5.0.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: Installable Packages
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: nzanella@cs.mun.ca
"Neil Zanella" <nz...@cs.mun.ca> wrote in message
news:Pine.LNX.4.44.0306230932090.15449-100000@garfield.cs.mun.ca...
>
> 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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org