aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/bin/start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/bin/start.sh')
-rw-r--r--src/main/bin/start.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/bin/start.sh b/src/main/bin/start.sh
index 69550c6..5248a7a 100644
--- a/src/main/bin/start.sh
+++ b/src/main/bin/start.sh
@@ -20,6 +20,14 @@ PROPS="$PROPS -Dlogging.config=$BASEDIR/bundleconfig/etc/logback.xml"
PROPS="$PROPS -DCONFIG_HOME=$CONFIG_HOME"
PROPS="$PROPS -DKEY_STORE_PASSWORD=$KEY_STORE_PASSWORD"
+if [ ! -z "$TRUST_STORE_PASSWORD" ]; then
+ PROPS="$PROPS -DTRUST_STORE_PASSWORD=${TRUST_STORE_PASSWORD}"
+fi
+
+if [ ! -z "$TRUST_STORE_LOCATION" ]; then
+ PROPS="$PROPS -DTRUST_STORE_LOCATION=${TRUST_STORE_LOCATION}"
+fi
+
JVM_MAX_HEAP=${MAX_HEAP:-1024}
java $PROPS -jar $BASEDIR/search-data-service-package.jar \ No newline at end of file