Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 3 | |
Michael Lando | a1ceb60 | 2018-02-20 16:14:11 +0200 | [diff] [blame] | 4 | |
| 5 | cd /root/chef-solo |
| 6 | chef-solo -c solo.rb -E ${ENVNAME} |
| 7 | rc=$? |
| 8 | if [[ $rc != 0 ]]; then |
| 9 | echo "Chef exaction failed." |
| 10 | exit $rc; |
| 11 | fi |
| 12 | |
| 13 | JAVA_OPTIONS=" ${JAVA_OPTIONS} \ |
Lior Nachmias | bc169d4 | 2018-02-26 18:21:23 +0200 | [diff] [blame] | 14 | -Xdebug -agentlib:jdwp=transport=dt_socket,address=5000,server=y,suspend=n -Xmx128m -Xms128m -Xss1m \ |
Michael Lando | a1ceb60 | 2018-02-20 16:14:11 +0200 | [diff] [blame] | 15 | -Dconfig.home=${JETTY_BASE}/config/sdc-simulator \ |
| 16 | -Dlog.home=${JETTY_BASE}/logs \ |
| 17 | -Dlogback.configurationFile=${JETTY_BASE}/config/sdc-simulator/logback.xml \ |
| 18 | -Djetty.logging.dir=${JETTY_BASE}/logs" |
| 19 | |
Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 20 | |
| 21 | cd /var/lib/jetty |
| 22 | /docker-entrypoint.sh |
| 23 | |