blob: fb5610d7ba3343ff779bc930f3d73860e9e65c7c [file] [log] [blame]
#!/bin/bash
LIB=/opt/app/subscriber/lib
ETC=/opt/app/subscriber/etc
CLASSPATH=$ETC
for FILE in `find $LIB -name *.jar`; do
CLASSPATH=$CLASSPATH:$FILE
done
java -classpath $CLASSPATH org.onap.dmaap.datarouter.subscriber.SubscriberMain
runner_file="$LIB/subscriber-jar-with-dependencies.jar"
echo "Starting using" $runner_file
java -Dorg.onap.dmaap.datarouter.subscriber.properties=/opt/app/subscriber/etc/subscriber.properties -jar $runner_file