diff options
author | Dmitry Puzikov <dmitry.puzikov@tieto.com> | 2019-07-17 16:07:57 +0200 |
---|---|---|
committer | James Forsyth <jf2512@att.com> | 2019-09-03 14:57:24 +0000 |
commit | baff7ad66d0c750a41956734bafc1903dfcca81b (patch) | |
tree | 5ac09de95f170ef310907b786cf6a21b594d19ed /src/main/bin | |
parent | 3ce3de8298345d1992e4af224f6d32b8ef6e5331 (diff) |
Fixed project version parsing5.1.0-ONAP5.0.2-ONAP5.0.1-ONAPelalto
Change-Id: I7f5f7ab3d9b3ff58b248652f41efc620d779e6e4
Issue-ID: INT-1149
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
(cherry picked from commit 7ea1df80bf0c87800ff737a6b3e29af689bb003f)
Diffstat (limited to 'src/main/bin')
-rw-r--r-- | src/main/bin/start.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/bin/start.sh b/src/main/bin/start.sh index 76b5991..120f960 100644 --- a/src/main/bin/start.sh +++ b/src/main/bin/start.sh @@ -1,7 +1,7 @@ #!/bin/sh -BASEDIR="/opt/app/data-router/" -AJSC_HOME="$BASEDIR" +MICRO_HOME="/opt/app/data-router" + if [ -z "$CONFIG_HOME" ]; then @@ -14,8 +14,8 @@ if [ -z "$KEY_STORE_PASSWORD" ]; then exit 1 fi -PROPS="-DAJSC_HOME=$AJSC_HOME" -PROPS="$PROPS -Dlogging.config=$BASEDIR/bundleconfig/etc/logback.xml" +PROPS="-DAJSC_HOME=${MICRO_HOME}" +PROPS="$PROPS -Dlogging.config=${MICRO_HOME}/bundleconfig/etc/logback.xml" PROPS="$PROPS -DCONFIG_HOME=$CONFIG_HOME" PROPS="$PROPS -DKEY_STORE_PASSWORD=$KEY_STORE_PASSWORD" @@ -31,6 +31,6 @@ fi JVM_MAX_HEAP=${MAX_HEAP:-1024} cd ${MICRO_HOME} -jar uf0 $MICRO_HOME/data-router.jar BOOT-INF/lib/* +jar uf0 ${MICRO_HOME}/data-router.jar BOOT-INF/lib/* > /dev/null 2>&1 exec java -Xmx${JVM_MAX_HEAP}m $PROPS -jar ${MICRO_HOME}/data-router.jar
\ No newline at end of file |