blob: 1517f72202bdbdeb767fdba47bd8b41f0574f7b2 [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 \
17 -Dconfiguration.yaml=${JETTY_BASE}/config/onboarding-be/onboarding_configuration.yaml"
18
19cd /var/lib/jetty
20
21/docker-entrypoint.sh &
22
23while true; do sleep 2; done