blob: d4a02293d95862aea038a709f278676f5805149f [file] [log] [blame]
sheetalmed128902018-03-13 19:32:08 +05301#!/bin/sh
2
3if [[ -z "${CASSANDRA_HOST}" ]]; then
4 echo "CASSANDRA_HOST environment variable must be set"
5 exit 1
6fi
7
8#Replace 'CASSANDRA_HOST' in configuration.yaml with value of CASSANDRA_HOST environment variable
9sed -i "s/CASSANDRA_HOST/${CASSANDRA_HOST}/" configuration.yaml
10
sheetalm450c94f2018-04-04 15:06:18 +053011java -jar -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 "$JETTY_HOME/start.jar" -Dconfiguration.yaml=configuration.yaml -Dlogback.configurationFile=${LOGBACK_FILE_DIR}/logback.xml