8 |
fi |
fi |
9 |
|
|
10 |
# Get the tomcat config (use this for environment specific settings) |
# Get the tomcat config (use this for environment specific settings) |
11 |
#if [ -z "${TOMCAT_CFG}" ]; then |
if [ -z "${TOMCAT_CFG}" ]; then |
12 |
# TOMCAT_CFG="/etc/tomcat/tomcat.conf" |
TOMCAT_CFG="/etc/tomcat/tomcat.conf" |
13 |
#fi |
fi |
14 |
|
|
15 |
#if [ -r "$TOMCAT_CFG" ]; then |
if [ -r "$TOMCAT_CFG" ]; then |
16 |
# . $TOMCAT_CFG |
. $TOMCAT_CFG |
17 |
#fi |
fi |
18 |
|
|
19 |
set_javacmd |
# Get instance specific config file |
20 |
|
if [ -r "/etc/sysconfig/${NAME}" ]; then |
21 |
|
. /etc/sysconfig/${NAME} |
22 |
|
fi |
23 |
|
|
24 |
|
set_javacmd |
25 |
# CLASSPATH munging |
# CLASSPATH munging |
26 |
if [ -n "$JSSE_HOME" ]; then |
if [ -n "$JSSE_HOME" ]; then |
27 |
CLASSPATH="${CLASSPATH}:$(build-classpath jcert jnet jsse 2>/dev/null)" |
CLASSPATH="${CLASSPATH}:$(build-classpath jcert jnet jsse 2>/dev/null)" |