diff options
author | efiacor <fiachra.corcoran@est.tech> | 2019-10-23 15:31:43 +0100 |
---|---|---|
committer | efiacor <fiachra.corcoran@est.tech> | 2019-10-29 10:45:36 +0000 |
commit | adb2ad2d16e851fbf8dcc71af68949a74463204d (patch) | |
tree | d5d2e4a7411d011843b34cdb1c21a92d482c5f23 /datarouter-node/src/main/resources | |
parent | 68a9ca240970fceaf12bbe91b7bad8e1d98ecd93 (diff) |
More bug fix and refactoring
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I4fce4e73faa86573d0c716882bb014b9f83026ee
Issue-ID: DMAAP-1284
Diffstat (limited to 'datarouter-node/src/main/resources')
-rw-r--r-- | datarouter-node/src/main/resources/docker/startup.sh | 2 | ||||
-rw-r--r-- | datarouter-node/src/main/resources/misc/drtrnode | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/datarouter-node/src/main/resources/docker/startup.sh b/datarouter-node/src/main/resources/docker/startup.sh index 8843b221..a71dbaa8 100644 --- a/datarouter-node/src/main/resources/docker/startup.sh +++ b/datarouter-node/src/main/resources/docker/startup.sh @@ -12,7 +12,7 @@ CLASSPATH=$ETC for FILE in `find $LIB -name *.jar`; do CLASSPATH=$CLASSPATH:$FILE done -java -classpath $CLASSPATH org.onap.dmaap.datarouter.node.NodeMain +java -classpath $CLASSPATH org.onap.dmaap.datarouter.node.NodeRunner runner_file="$LIB/datarouter-node-jar-with-dependencies.jar" echo "Starting using" $runner_file diff --git a/datarouter-node/src/main/resources/misc/drtrnode b/datarouter-node/src/main/resources/misc/drtrnode index 970d7d3f..b0e915e5 100644 --- a/datarouter-node/src/main/resources/misc/drtrnode +++ b/datarouter-node/src/main/resources/misc/drtrnode @@ -63,7 +63,7 @@ start() { chmod 755 /opt/app/datartr/spool/s rm -f /opt/app/datartr/etc/SHUTDOWN - nohup java org.onap.dmaap.datarouter.node.NodeMain </dev/null >/dev/null 2>&1 & + nohup java org.onap.dmaap.datarouter.node.NodeRunner </dev/null >/dev/null 2>&1 & sleep 5 PIDS=`pids` if [ "$PIDS" = "" ] |