blob: 53b1053deb53c98f1cbc8cad701369243ed392bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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.Subscriber
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
|