blob: 8cb71dd668609dc2749f4ca1e34d85c1142f5f0a [file] [log] [blame]
sg481naaf2df82017-08-03 17:56:38 -04001LIB=/opt/app/datartr/lib
2ETC=/opt/app/datartr/etc
3echo "this is LIB" $LIB
4echo "this is ETC" $ETC
5mkdir -p /opt/app/datartr/logs
6mkdir -p /opt/app/datartr/spool
7mkdir -p /opt/app/datartr/spool/f
8mkdir -p /opt/app/datartr/spool/n
9mkdir -p /opt/app/datartr/spool/s
10CLASSPATH=$ETC
11for FILE in `find $LIB -name *.jar`; do
12 CLASSPATH=$CLASSPATH:$FILE
13done
14java -classpath $CLASSPATH com.att.research.datarouter.node.NodeMain
15
16runner_file="$LIB/datarouter-node-jar-with-dependencies.jar"
17echo "Starting using" $runner_file
18java -Dcom.att.eelf.logging.file==/opt/app/datartr/etc/logback.xml -Dcom.att.eelf.logging.path=/ -Dcom.att.research.datarouter.node.ConfigFile==/opt/app/datartr/etc/node.properties -jar $runner_file