blob: a71dbaa89b34d56d8675a5d8ee31219a4669ca3a [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
efiacoradb2ad22019-10-23 15:31:43 +010015java -classpath $CLASSPATH org.onap.dmaap.datarouter.node.NodeRunner
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