tomcat/tomcat-8.0.conf
Ivan Afonichev ef1b76e880 Fix non-service use and default datasource factory
- Load sysconfig from tomcat.conf, resolves: rhbz#1311771, rhbz#1311905
- Set default javax.sql.DataSource factory to apache commons one, resolves rhbz#1214381
- Fix changelog
2016-02-27 18:26:53 +03:00

23 lines
728 B
Plaintext

# System-wide configuration file for tomcat services.
#
# 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.
#
# This will not be sourced by systemd as an environment file. Feel free to add
# your overrides here. Shell invocations will work.
#
# 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"
if [ -z "${TOMCAT_SYSCONF_LOADED}" ]; then
if [ -z "${TOMCAT_SYSCONF}" ]; then
TOMCAT_SYSCONF="/etc/sysconfig/tomcat"
fi
. $TOMCAT_SYSCONF
fi