blob: dc68d6f3a573b3312143e8aa2e8e1301bdf4d86c [file] [log] [blame]
Avi Zivc175a0d2018-03-15 13:21:44 +02001#!/bin/sh
2
sebdetdf353be2020-09-21 22:13:05 +02003JAVA_OPTIONS="$JAVA_OPTIONS \
4 -Dcom.datastax.driver.USE_NATIVE_CLOCK=false \
5 -Dconfig.home=$JETTY_BASE/config \
6 -Dlog.home=$JETTY_BASE/logs \
7 -Dlogback.configurationFile=$JETTY_BASE/config/onboarding-be/logback.xml \
8 -Dconfiguration.yaml=$JETTY_BASE/config/onboarding-be/onboarding_configuration.yaml \
marine34532642021-06-18 17:51:46 +02009 -Dfeatures.properties=$JETTY_BASE/config/onboarding-be/features.properties \
sebdetdf353be2020-09-21 22:13:05 +020010 -Dconfig.location=$JETTY_BASE/config/onboarding-be/."
11
12cd $JETTY_BASE
13
14cd $JETTY_BASE/chef-solo
Avi Zivc175a0d2018-03-15 13:21:44 +020015chef-solo -c solo.rb -E ${ENVNAME}
Avi Zivc175a0d2018-03-15 13:21:44 +020016
sebdetdf353be2020-09-21 22:13:05 +020017cd $JETTY_HOME
Avi Zivc175a0d2018-03-15 13:21:44 +020018
sebdetdf353be2020-09-21 22:13:05 +020019java $JAVA_OPTIONS -jar "${JETTY_HOME}/start.jar"