CASA/CASA-auth-token/server-java/Svc/linux/envvars
Juan Carlos Luciani 93bb0f1046 Changed to utilize tomcat55 instead of tomcat5 for
SuSE versions greater or equal to 1030 since they no longer
support tomcat5.
2007-08-09 16:23:09 +00:00

31 lines
1.0 KiB
Plaintext

############################################################
# #
# Environment variable file for casa_atsd. #
# #
# Note: This file is sourced by the casa_atsd rc script #
# when starting the service. #
# #
############################################################
# Set JAVA_HOME
if [ -d /usr/lib64 ]; then
LIB=lib64
else
LIB=lib
fi
JAVA_HOME="/usr/$LIB/jvm/jre-1.5.0"
CATALINA_BASE="/srv/www/casaats"
if [ -d /usr/share/tomcat55 ]; then
CATALINA_HOME="/usr/share/tomcat55"
else
CATALINA_HOME="/usr/share/tomcat5"
fi
CATALINA_PID="/var/lib/CASA/authtoken/svc/casaatsd.pid"
JAVA_OPTS="-Dcom.novell.casa.authtoksvc.config=/etc/CASA/authtoken/svc -Dlog4j.configuration=file:/etc/CASA/authtoken/svc/log4j.properties -Djava.library.path=/usr/$LIB"
export CATALINA_BASE CATALINA_HOME CATALINA_PID JAVA_HOME JAVA_OPTS