blob: 89582082eb2e0e289203f0f625c5858a80fa5d8a [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 \
18 -Djetty.logging.dir=${JETTY_BASE}/logs"
19
Tal Gitelmanfa222902017-08-16 13:44:31 +030020
21cd /var/lib/jetty
22/docker-entrypoint.sh
23