blob: 66add3a75eed2241acece83bf11c13aa9387ed80 [file] [log] [blame]
Tal Gitelmanfa222902017-08-16 13:44:31 +03001#!/bin/sh
2
Tal Gitelmanfa222902017-08-16 13:44:31 +03003
Michael Landoa1ceb602018-02-20 16:14:11 +02004
5cd /root/chef-solo
6chef-solo -c solo.rb -E ${ENVNAME}
7rc=$?
8if [[ $rc != 0 ]]; then
9 echo "Chef exaction failed."
10 exit $rc;
11fi
12
13JAVA_OPTIONS=" ${JAVA_OPTIONS} \
Lior Nachmiasbc169d42018-02-26 18:21:23 +020014 -Xdebug -agentlib:jdwp=transport=dt_socket,address=5000,server=y,suspend=n -Xmx128m -Xms128m -Xss1m \
Michael Landoa1ceb602018-02-20 16:14:11 +020015 -Dconfig.home=${JETTY_BASE}/config/sdc-simulator \
16 -Dlog.home=${JETTY_BASE}/logs \
17 -Dlogback.configurationFile=${JETTY_BASE}/config/sdc-simulator/logback.xml \
k.kedron7890e822019-08-21 13:31:02 +020018 -Djavax.net.ssl.trustStore=${JETTY_BASE}/etc/org.onap.sdc.trust.jks \
k.kedrona22105e2020-03-25 15:29:42 +010019 -Djavax.net.ssl.trustStorePassword=z+KEj;t+,KN^iimSiS89e#p0 \
Tal Gitelmanae3a86d2018-10-30 19:45:19 +020020 -Djetty.console-capture.dir=${JETTY_BASE}/logs"
Michael Landoa1ceb602018-02-20 16:14:11 +020021
Tal Gitelmanfa222902017-08-16 13:44:31 +030022
23cd /var/lib/jetty
24/docker-entrypoint.sh
25