Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 3 | JAVA_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 \ |
marine | 3453264 | 2021-06-18 17:51:46 +0200 | [diff] [blame] | 9 | -Dfeatures.properties=$JETTY_BASE/config/onboarding-be/features.properties \ |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 10 | -Dconfig.location=$JETTY_BASE/config/onboarding-be/." |
| 11 | |
| 12 | cd $JETTY_BASE |
| 13 | |
| 14 | cd $JETTY_BASE/chef-solo |
Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 15 | chef-solo -c solo.rb -E ${ENVNAME} |
Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 16 | |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 17 | cd $JETTY_HOME |
Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 18 | |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 19 | java $JAVA_OPTIONS -jar "${JETTY_HOME}/start.jar" |