summaryrefslogtreecommitdiffstats
path: root/cmso-ticketmgt/src/main/docker/extra-files/startService.sh
blob: d040bd9e5d524f67eaba9cf89e008a97815eb7c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

AUTHENTICATION=${AUTHENTICATION:-proprietary-auth}
JAVA_TRUSTSTORE=${JAVA_TRUSTSTORE:-etc/config/truststoreONAPall.jks}

VM_ARGS="${VM_ARGS} -Dserver.local.startpath=${RESOURCES_HOME}"
VM_ARGS="${VM_ARGS} -Djavax.net.ssl.trustStore==${JAVA_TRUSTSTORE}"

echo "VM_ARGS="${VM_ARGS}

java -Djava.security.egd=file:/dev/./urandom  ${VM_ARGS} -Xms256m -Xmx1024m  -jar  ./app.jar --spring.profiles.active=${AUTHENTICATION}