summaryrefslogtreecommitdiffstats
path: root/sidecar/fproxy/src/main/bin
diff options
context:
space:
mode:
Diffstat (limited to 'sidecar/fproxy/src/main/bin')
-rw-r--r--sidecar/fproxy/src/main/bin/start.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/sidecar/fproxy/src/main/bin/start.sh b/sidecar/fproxy/src/main/bin/start.sh
index 53662b6..624f784 100644
--- a/sidecar/fproxy/src/main/bin/start.sh
+++ b/sidecar/fproxy/src/main/bin/start.sh
@@ -26,7 +26,14 @@ if [ -z "${KEY_STORE_PASSWORD}" ]; then
exit 1
fi
+if [ -z "${TRUST_STORE_PASSWORD}" ]; then
+ echo "TRUST_STORE_PASSWORD must be set in order to start up process"
+ exit 1
+fi
+
PROPS="-DKEY_STORE_PASSWORD=${KEY_STORE_PASSWORD}"
+PROPS="$PROPS -DTRUST_STORE_PASSWORD=${TRUST_STORE_PASSWORD}"
+
JVM_MAX_HEAP=${MAX_HEAP:-1024}
exec java -Xmx${JVM_MAX_HEAP}m ${PROPS} -jar ${BASEDIR}/fproxy-exec.jar