blob: 8843b2214e0c3306ca82a7a8c7aa1406f27fe126 [file] [log] [blame]
Fiachra Corcoranfa1da982018-07-26 07:23:34 +01001#!/bin/bash
sg481naaf2df82017-08-03 17:56:38 -04002LIB=/opt/app/datartr/lib
3ETC=/opt/app/datartr/etc
4echo "this is LIB" $LIB
5echo "this is ETC" $ETC
6mkdir -p /opt/app/datartr/logs
7mkdir -p /opt/app/datartr/spool
8mkdir -p /opt/app/datartr/spool/f
9mkdir -p /opt/app/datartr/spool/n
10mkdir -p /opt/app/datartr/spool/s
11CLASSPATH=$ETC
12for FILE in `find $LIB -name *.jar`; do
13 CLASSPATH=$CLASSPATH:$FILE
14done
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010015java -classpath $CLASSPATH org.onap.dmaap.datarouter.node.NodeMain
sg481naaf2df82017-08-03 17:56:38 -040016
17runner_file="$LIB/datarouter-node-jar-with-dependencies.jar"
18echo "Starting using" $runner_file
efiacor1ccd9c32019-10-08 16:24:28 +010019java -Dcom.att.eelf.logging.file=/opt/app/datartr/etc/logback.xml -Dcom.att.eelf.logging.path=/root \
20-Dorg.onap.dmaap.datarouter.node.properties=/opt/app/datartr/etc/node.properties -jar $runner_file