blob: 413fdb317e5187942c905a176d0692d55bd3e195 [file] [log] [blame]
Avi Zivc175a0d2018-03-15 13:21:44 +02001#!/bin/sh
2
3
4cd /root/chef-solo
5chef-solo -c solo.rb -E ${ENVNAME}
6rc=$?
7if [[ $rc != 0 ]]; then
8 echo "Chef exaction failed."
9 exit $rc;
10fi
11
12
13JAVA_OPTIONS=" ${JAVA_OPTIONS} \
14 -Dconfig.home=${JETTY_BASE}/config \
15 -Dlog.home=${JETTY_BASE}/logs \
16 -Dlogback.configurationFile=${JETTY_BASE}/config/onboarding-be/logback.xml \
Murali-P72d62fb2018-03-29 17:46:39 +053017 -Dconfiguration.yaml=${JETTY_BASE}/config/onboarding-be/onboarding_configuration.yaml \
18 -Dconfig.location=${JETTY_BASE}/config/onboarding-be/."
Avi Zivc175a0d2018-03-15 13:21:44 +020019
20cd /var/lib/jetty
21
22/docker-entrypoint.sh &
23
24while true; do sleep 2; done