Project

General

Profile

« Previous | Next » 

Revision 4375

Added by daigle about 16 years ago

Export environment variables in tomcat startup file

View differences:

bin/install/tomcat5.5
7 7
#
8 8

  
9 9
DESC="Tomcat servlet engine"
10
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
11
CATALINA_HOME=/usr/share/tomcat5.5
10
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
11
export CATALINA_HOME=/usr/share/tomcat5.5
12 12

  
13 13
if [ `id -u` -ne 0 ]; then
14 14
	echo "You need root privileges to run this script"

Also available in: Unified diff