aboutsummaryrefslogtreecommitdiffstats
path: root/datarouter-prov/src/main/resources/docker/startup.sh
blob: 191a8049ae9b9b71b4cc67ff4a223f7e976b737e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
LIB=/opt/app/datartr/lib
ETC=/opt/app/datartr/etc
echo "this is LIB" $LIB
echo "this is ETC" $ETC
mkdir -p /opt/app/datartr/logs
mkdir -p /opt/app/datartr/spool
CLASSPATH=$ETC
for FILE in `find $LIB -name *.jar`; do
  CLASSPATH=$CLASSPATH:$FILE
done
java -classpath $CLASSPATH  com.att.research.datarouter.provisioning.Main

runner_file="$LIB/datarouter-prov-jar-with-dependencies.jar"
echo "Starting using" $runner_file
java -Dcom.att.eelf.logging.file==/opt/app/datartr/etc/logback.xml -Dcom.att.eelf.logging.path=/root -jar $runner_file