Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 1 | #!/bin/bash |
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 2 | LIB=/opt/app/datartr/lib |
| 3 | ETC=/opt/app/datartr/etc |
| 4 | echo "this is LIB" $LIB |
| 5 | echo "this is ETC" $ETC |
| 6 | mkdir -p /opt/app/datartr/logs |
| 7 | mkdir -p /opt/app/datartr/spool |
| 8 | CLASSPATH=$ETC |
| 9 | for FILE in `find $LIB -name *.jar`; do |
| 10 | CLASSPATH=$CLASSPATH:$FILE |
| 11 | done |
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 12 | java -classpath $CLASSPATH org.onap.dmaap.datarouter.provisioning.Main |
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 13 | |
| 14 | runner_file="$LIB/datarouter-prov-jar-with-dependencies.jar" |
| 15 | echo "Starting using" $runner_file |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame^] | 16 | java -Dorg.onap.dmaap.datarouter.provserver.properties=/opt/app/datartr/etc/provserver.properties \ |
| 17 | -Dcom.att.eelf.logging.file=/opt/app/datartr/etc/logback.xml -Dcom.att.eelf.logging.path=/root -jar $runner_file |