aboutsummaryrefslogtreecommitdiffstats
path: root/champ-service/src/main/bin/start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'champ-service/src/main/bin/start.sh')
-rw-r--r--champ-service/src/main/bin/start.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/champ-service/src/main/bin/start.sh b/champ-service/src/main/bin/start.sh
index 7e6d587..bf29db5 100644
--- a/champ-service/src/main/bin/start.sh
+++ b/champ-service/src/main/bin/start.sh
@@ -58,6 +58,15 @@ PROPS="-DAPP_HOME=$APP_HOME"
PROPS="$PROPS -DCONFIG_HOME=$CONFIG_HOME"
PROPS="$PROPS -Dlogging.config=$APP_HOME/bundleconfig/etc/logback.xml"
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}
set -x