Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | |
| 4 | cd /root/chef-solo |
| 5 | chef-solo -c solo.rb -E ${ENVNAME} |
| 6 | rc=$? |
| 7 | if [[ $rc != 0 ]]; then |
| 8 | echo "Chef exaction failed." |
| 9 | exit $rc; |
| 10 | fi |
| 11 | |
| 12 | |
| 13 | JAVA_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-P | 72d62fb | 2018-03-29 17:46:39 +0530 | [diff] [blame] | 17 | -Dconfiguration.yaml=${JETTY_BASE}/config/onboarding-be/onboarding_configuration.yaml \ |
| 18 | -Dconfig.location=${JETTY_BASE}/config/onboarding-be/." |
Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 19 | |
| 20 | cd /var/lib/jetty |
| 21 | |
| 22 | /docker-entrypoint.sh & |
| 23 | |
| 24 | while true; do sleep 2; done |