Fix for VID-890
[vid.git] / deliveries / src / main / scripts / start.sh
1 #!/bin/bash
2
3 # Set CATALINA_OPTS if not defined previously
4 # Enables late-evaluation of env variables, such as VID_KEYSTORE_PASSWORD
5 : "${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/}"
6 echo "CATALINA_OPTS: ${CATALINA_OPTS}"
7 export CATALINA_OPTS
8
9 catalina.sh run