2016-02-04 12:04:58 +00:00
|
|
|
# System-wide configuration file for tomcat services.
|
2008-04-07 22:37:26 +00:00
|
|
|
#
|
2016-02-04 12:04:58 +00:00
|
|
|
# Use this file to change default values for all tomcat services. Change the
|
|
|
|
# service specific ones to affect only one service. For tomcat.service it is
|
|
|
|
# /etc/sysconfig/tomcat. For tomcat@instance it is /etc/sysconfig/tomcat@instance.
|
2008-04-07 22:37:26 +00:00
|
|
|
#
|
2016-02-04 12:04:58 +00:00
|
|
|
# This will not be sourced by systemd as an environment file. Feel free to add
|
|
|
|
# your overrides here. Shell invocations will work.
|
2016-02-04 13:13:40 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# This variable is used to figure out if config is loaded or not.
|
|
|
|
# To prevent this file to be loaded multiple times.
|
|
|
|
TOMCAT_CFG_LOADED="1"
|
|
|
|
|
2016-02-27 14:56:47 +00:00
|
|
|
|
|
|
|
if [ -z "${TOMCAT_SYSCONF_LOADED}" ]; then
|
|
|
|
if [ -z "${TOMCAT_SYSCONF}" ]; then
|
|
|
|
TOMCAT_SYSCONF="/etc/sysconfig/tomcat"
|
|
|
|
fi
|
|
|
|
. $TOMCAT_SYSCONF
|
|
|
|
fi
|
|
|
|
|