dashboardjavacloudcoapiotiot-analyticsiot-platformiot-solutionskafkalwm2mmicroservicesmiddlewaremqttnettyplatformsnmpthingsboardvisualizationwebsocketswidgets
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
684 B
22 lines
684 B
#!/bin/bash
|
|
#
|
|
# SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
CONF_FOLDER="/config"
|
|
jarfile=${pkg.installFolder}/bin/${pkg.name}.jar
|
|
configfile=${pkg.name}.conf
|
|
|
|
source "${CONF_FOLDER}/${configfile}"
|
|
|
|
export LOADER_PATH=/config,${LOADER_PATH}
|
|
|
|
echo "Starting '${project.name}' ..."
|
|
|
|
cd ${pkg.installFolder}/bin
|
|
|
|
exec java -cp ${jarfile} $JAVA_OPTS -Dloader.main=org.thingsboard.server.vc.ThingsboardVersionControlExecutorApplication \
|
|
-Dspring.jpa.hibernate.ddl-auto=none \
|
|
-Dlogging.config=/config/logback.xml \
|
|
org.springframework.boot.loader.launch.PropertiesLauncher
|
|
|