2006-11-16 10:20:06 +01:00
|
|
|
############################################################
|
|
|
|
# #
|
|
|
|
# Environment variable file for casa_atsd. #
|
|
|
|
# #
|
|
|
|
# Note: This file is sourced by the casa_atsd rc script #
|
|
|
|
# when starting the service. #
|
|
|
|
# #
|
|
|
|
############################################################
|
2007-01-22 08:09:58 +01:00
|
|
|
|
2007-01-24 07:06:57 +01:00
|
|
|
# Set JAVA_HOME
|
|
|
|
if [ -d /usr/lib64 ]; then
|
|
|
|
LIB=lib64
|
|
|
|
else
|
|
|
|
LIB=lib
|
2006-11-29 07:23:48 +01:00
|
|
|
fi
|
2007-08-09 18:23:09 +02:00
|
|
|
|
2007-01-24 07:06:57 +01:00
|
|
|
JAVA_HOME="/usr/$LIB/jvm/jre-1.5.0"
|
2006-11-29 07:23:48 +01:00
|
|
|
|
2006-11-16 10:20:06 +01:00
|
|
|
CATALINA_BASE="/srv/www/casaats"
|
2007-08-09 18:23:09 +02:00
|
|
|
|
|
|
|
if [ -d /usr/share/tomcat55 ]; then
|
|
|
|
CATALINA_HOME="/usr/share/tomcat55"
|
|
|
|
else
|
|
|
|
CATALINA_HOME="/usr/share/tomcat5"
|
|
|
|
fi
|
|
|
|
|
2007-01-09 06:05:37 +01:00
|
|
|
CATALINA_PID="/var/lib/CASA/authtoken/svc/casaatsd.pid"
|
2007-06-01 17:39:35 +02:00
|
|
|
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"
|
2007-02-14 00:54:27 +01:00
|
|
|
export CATALINA_BASE CATALINA_HOME CATALINA_PID JAVA_HOME JAVA_OPTS
|
2006-11-16 10:20:06 +01:00
|
|
|
|