aboutsummaryrefslogtreecommitdiffstats
path: root/music-rest/distribution
diff options
context:
space:
mode:
authorThomas Nelson <tn1381@att.com>2020-02-19 17:28:11 -0500
committerThomas Nelson <tn1381@att.com>2020-02-19 17:29:11 -0500
commit8ca9a7f168a141f15280662d50d6d4c933dde3bc (patch)
treefa01b4ca2c332555b303830f3eacb82ea4338579 /music-rest/distribution
parenta7512128b6eb91ac745dc6130a841910e31eb413 (diff)
Update startup.sh to use JAVA_OPTS and SPRING_OPTS
Issue-ID: MUSIC-561 Signed-off-by: Thomas Nelson <tn1381@att.com> Change-Id: I92a342a22df684ddc7ae91832b1e32daab9c5b19 Signed-off-by: Thomas Nelson <tn1381@att.com> Change-Id: Ia57db43d217ead0f6d145e775cc9d6264d040274
Diffstat (limited to 'music-rest/distribution')
-rw-r--r--music-rest/distribution/music/startup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/music-rest/distribution/music/startup.sh b/music-rest/distribution/music/startup.sh
index 2e1165d1..98b3ae09 100644
--- a/music-rest/distribution/music/startup.sh
+++ b/music-rest/distribution/music/startup.sh
@@ -57,10 +57,10 @@ fi
if [ -f $PROPS ]; then
# Run with different Property file
#echo "java ${DEBUG_PROP} -jar MUSIC.jar --spring.config.location=file:${PROPS} ${LOGGING} 2>&1 | tee ${LOGFILE}"
- java ${DEBUG_PROP} -jar MUSIC-SB.jar --spring.config.location=file:${PROPS} ${LOGGING} 2>&1 | tee ${LOGFILE}
+ java ${DEBUG_PROP} ${JAVA_OPTS} -jar MUSIC-SB.jar ${SPRING_OPTS} --spring.config.location=file:${PROPS} ${LOGGING} 2>&1 | tee ${LOGFILE}
else
#echo "java ${DEBUG_PROP} -jar MUSIC.jar --server.ssl.key-store-password=${PASSWORD} ${LOGGING} 2>&1 | tee ${LOGFILE}"
- java ${DEBUG_PROP} -jar MUSIC-SB.jar --server.ssl.key-store-password="${PASSWORD}" ${LOGGING} 2>&1 | tee ${LOGFILE}
+ java ${DEBUG_PROP} ${JAVA_OPTS} -jar MUSIC-SB.jar ${SPRING_OPTS} --server.ssl.key-store-password="${PASSWORD}" ${LOGGING} 2>&1 | tee ${LOGFILE}
fi