blob: 075c2cefabaa2a17d52627052eb2f5389278a989 [file] [log] [blame]
Tal Gitelmanfa222902017-08-16 13:44:31 +03001#!/bin/sh
2
Tal Gitelmanfa222902017-08-16 13:44:31 +03003
Michael Landoa1ceb602018-02-20 16:14:11 +02004
5cd /root/chef-solo
6chef-solo -c solo.rb -E ${ENVNAME}
7rc=$?
8if [[ $rc != 0 ]]; then
9 echo "Chef exaction failed."
10 exit $rc;
11fi
12
13JAVA_OPTIONS=" ${JAVA_OPTIONS} \
Lior Nachmiasbc169d42018-02-26 18:21:23 +020014 -Xdebug -agentlib:jdwp=transport=dt_socket,address=5000,server=y,suspend=n -Xmx128m -Xms128m -Xss1m \
Michael Landoa1ceb602018-02-20 16:14:11 +020015 -Dconfig.home=${JETTY_BASE}/config/sdc-simulator \
16 -Dlog.home=${JETTY_BASE}/logs \
17 -Dlogback.configurationFile=${JETTY_BASE}/config/sdc-simulator/logback.xml \
Tal Gitelmanae3a86d2018-10-30 19:45:19 +020018 -Djetty.console-capture.dir=${JETTY_BASE}/logs"
Michael Landoa1ceb602018-02-20 16:14:11 +020019
Tal Gitelmanfa222902017-08-16 13:44:31 +030020
21cd /var/lib/jetty
22/docker-entrypoint.sh
23