|
|
8aa4af |
#!/bin/bash
|
|
|
8aa4af |
#
|
|
|
8aa4af |
# Copyright 2012-2016 Red Hat, Inc.
|
|
|
8aa4af |
#
|
|
|
8aa4af |
# This file is part of Thermostat.
|
|
|
8aa4af |
#
|
|
|
8aa4af |
# Thermostat is free software; you can redistribute it and/or modify
|
|
|
8aa4af |
# it under the terms of the GNU General Public License as published
|
|
|
8aa4af |
# by the Free Software Foundation; either version 2, or (at your
|
|
|
8aa4af |
# option) any later version.
|
|
|
8aa4af |
#
|
|
|
8aa4af |
# Thermostat is distributed in the hope that it will be useful, but
|
|
|
8aa4af |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
8aa4af |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
8aa4af |
# General Public License for more details.
|
|
|
8aa4af |
#
|
|
|
8aa4af |
# You should have received a copy of the GNU General Public License
|
|
|
8aa4af |
# along with Thermostat; see the file COPYING. If not see
|
|
|
8aa4af |
# <http://www.gnu.org/licenses/>.
|
|
|
8aa4af |
#
|
|
|
8aa4af |
# Linking this code with other modules is making a combined work
|
|
|
8aa4af |
# based on this code. Thus, the terms and conditions of the GNU
|
|
|
8aa4af |
# General Public License cover the whole combination.
|
|
|
8aa4af |
#
|
|
|
8aa4af |
# As a special exception, the copyright holders of this code give
|
|
|
8aa4af |
# you permission to link this code with independent modules to
|
|
|
8aa4af |
# produce an executable, regardless of the license terms of these
|
|
|
8aa4af |
# independent modules, and to copy and distribute the resulting
|
|
|
8aa4af |
# executable under terms of your choice, provided that you also
|
|
|
8aa4af |
# meet, for each linked independent module, the terms and conditions
|
|
|
8aa4af |
# of the license of that module. An independent module is a module
|
|
|
8aa4af |
# which is not derived from or based on this code. If you modify
|
|
|
8aa4af |
# this code, you may extend this exception to your version of the
|
|
|
8aa4af |
# library, but you are not obligated to do so. If you do not wish
|
|
|
8aa4af |
# to do so, delete this exception statement from your version.
|
|
|
8aa4af |
#
|
|
|
8aa4af |
#####################################################################
|
|
|
8aa4af |
#
|
|
|
8aa4af |
# Environment variables for the system Thermostat profile. You
|
|
|
8aa4af |
# can assume that THERMOSTAT_HOME variable is correctly set and you
|
|
|
8aa4af |
# may override system variables via a user profile in
|
|
|
8aa4af |
# USER_THERMOSTAT_HOME/etc/thermostatrc.
|
|
|
8aa4af |
#
|
|
|
8aa4af |
#####################################################################
|
|
|
8aa4af |
|
|
|
8aa4af |
#
|
|
|
8aa4af |
# Extra jar files which need to be on the classpath when
|
|
|
8aa4af |
# Thermostat boots.
|
|
|
8aa4af |
#
|
|
|
8aa4af |
THERMOSTAT_EXT_BOOT_CLASSPATH="__TOOLS_PATH__"
|
|
|
8aa4af |
THERMOSTAT_EXT_BOOT_CLASSPATH="${THERMOSTAT_EXT_BOOT_CLASSPATH}:${THERMOSTAT_HOME}/plugins/embedded-web-endpoint/jetty-schemas-3.1.M0.jar"
|
|
|
8aa4af |
export THERMOSTAT_EXT_BOOT_CLASSPATH
|
|
|
8aa4af |
|
|
|
8aa4af |
#
|
|
|
8aa4af |
# Extra java options
|
|
|
8aa4af |
#
|
|
|
8aa4af |
#THERMOSTAT_EXT_JAVA_OPTS="-Xint -ea"
|
|
|
8aa4af |
#export THERMOSTAT_EXT_JAVA_OPTS
|
|
|
8aa4af |
|
|
|
8aa4af |
#
|
|
|
8aa4af |
# Extra options passed on to the Thermostat main class
|
|
|
8aa4af |
#
|
|
|
8aa4af |
THERMOSTAT_EXT_OPTS="--ignore-bundle-versions"
|
|
|
8aa4af |
export THERMOSTAT_EXT_OPTS
|