blob: 029126d183c1d8938325078f8c0e68a6e19d3b7b [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
20echo "---------------------------------------------"
21echo $TMPDIR
22echo $JAVA_OPTIONS
23echo $JETTY_BASE
24echo "---------------------------------------------"
Tal Gitelmanfa222902017-08-16 13:44:31 +030025
26cd /var/lib/jetty
27/docker-entrypoint.sh
28