Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 3 | JAVA_OPTIONS=" $JAVA_OPTIONS \ |
vasraz | b08ac29 | 2021-10-21 17:32:16 +0100 | [diff] [blame] | 4 | -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 Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 11 | |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 12 | cd $JETTY_BASE/chef-solo |
| 13 | chef-solo -c solo.rb -E ${ENVNAME} |
sebdet | 30670ac | 2020-08-04 14:16:00 +0200 | [diff] [blame] | 14 | |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 15 | cd $JETTY_HOME |
vasraz | 2dca3ec | 2022-02-09 15:55:38 +0000 | [diff] [blame] | 16 | echo "etc/rewrite-root-to-sdc1.xml" >> $JETTY_HOME/start.d/rewrite.ini |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 17 | |
| 18 | java $JAVA_OPTIONS -jar "${JETTY_HOME}/start.jar" |