summaryrefslogtreecommitdiffstats
path: root/deliveries/src/main/scripts/start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deliveries/src/main/scripts/start.sh')
-rwxr-xr-xdeliveries/src/main/scripts/start.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/deliveries/src/main/scripts/start.sh b/deliveries/src/main/scripts/start.sh
new file mode 100755
index 000000000..6c76ce3ca
--- /dev/null
+++ b/deliveries/src/main/scripts/start.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Set CATALINA_OPTS if not defined previously
+# Enables late-evaluation of env variables, such as VID_KEYSTORE_PASSWORD
+: "${CATALINA_OPTS:=-Dvid.keystore.password=${VID_KEYSTORE_PASSWORD} -Dvid.keyalias=vid@vid.onap.org -Dvid.keystore.filename=${VID_KEYSTORE_FILENAME} -Dcom.att.eelf.logging.file=logback.xml -Dcom.att.eelf.logging.path=/tmp/vid/}"
+echo "CATALINA_OPTS: ${CATALINA_OPTS}"
+export CATALINA_OPTS
+
+catalina.sh run