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