blob: d218211796fcdd7ad0d952f131814139c3bb37c8 [file] [log] [blame]
Tal Gitelmanfa222902017-08-16 13:44:31 +03001#!/bin/sh
2
sebdetdf353be2020-09-21 22:13:05 +02003JAVA_OPTIONS=" $JAVA_OPTIONS \
vasrazb08ac292021-10-21 17:32:16 +01004 -Xdebug -agentlib:jdwp=transport=dt_socket,address=*:5000,server=y,suspend=n -Xmx128m -Xms128m -Xss1m \
5 -Dconfig.home=$JETTY_BASE/config/sdc-simulator \
6 -Dlog.home=$JETTY_BASE/logs \
7 -Dlogback.configurationFile=$JETTY_BASE/config/sdc-simulator/logback.xml \
8 -Djavax.net.ssl.trustStore=$JETTY_BASE/etc/org.onap.sdc.trust.jks \
9 -Djavax.net.ssl.trustStorePassword=z+KEj;t+,KN^iimSiS89e#p0 \
10 -Djetty.console-capture.dir=$JETTY_BASE/logs"
Tal Gitelmanfa222902017-08-16 13:44:31 +030011
sebdetdf353be2020-09-21 22:13:05 +020012cd $JETTY_BASE/chef-solo
13chef-solo -c solo.rb -E ${ENVNAME}
sebdet30670ac2020-08-04 14:16:00 +020014
sebdetdf353be2020-09-21 22:13:05 +020015cd $JETTY_HOME
vasraz2dca3ec2022-02-09 15:55:38 +000016echo "etc/rewrite-root-to-sdc1.xml" >> $JETTY_HOME/start.d/rewrite.ini
sebdetdf353be2020-09-21 22:13:05 +020017
18java $JAVA_OPTIONS -jar "${JETTY_HOME}/start.jar"