sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 1 | LIB=/opt/app/datartr/lib |
| 2 | ETC=/opt/app/datartr/etc |
| 3 | echo "this is LIB" $LIB |
| 4 | echo "this is ETC" $ETC |
| 5 | mkdir -p /opt/app/datartr/logs |
| 6 | mkdir -p /opt/app/datartr/spool |
| 7 | mkdir -p /opt/app/datartr/spool/f |
| 8 | mkdir -p /opt/app/datartr/spool/n |
| 9 | mkdir -p /opt/app/datartr/spool/s |
| 10 | CLASSPATH=$ETC |
| 11 | for FILE in `find $LIB -name *.jar`; do |
| 12 | CLASSPATH=$CLASSPATH:$FILE |
| 13 | done |
| 14 | java -classpath $CLASSPATH com.att.research.datarouter.node.NodeMain |
| 15 | |
| 16 | runner_file="$LIB/datarouter-node-jar-with-dependencies.jar" |
| 17 | echo "Starting using" $runner_file |
| 18 | java -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 |