From 9cd260f1a9bc407df68dc0fd0dc3f055fc733103 Mon Sep 17 00:00:00 2001 From: Dmitry Toptygin Date: Thu, 10 Dec 2020 12:36:43 -0500 Subject: [PATCH] corrected default value for JVM_MEM_OPTIONS in docker run scripts --- opensync-gateway-cloud-docker/src/main/docker/app/run.sh | 2 +- .../src/main/docker-opensync-gateway-and-mqtt/app/run.sh | 2 +- opensync-gateway-static-docker/src/main/docker/app/run.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/opensync-gateway-cloud-docker/src/main/docker/app/run.sh b/opensync-gateway-cloud-docker/src/main/docker/app/run.sh index ea389a4..50042bf 100755 --- a/opensync-gateway-cloud-docker/src/main/docker/app/run.sh +++ b/opensync-gateway-cloud-docker/src/main/docker/app/run.sh @@ -121,7 +121,7 @@ else REMOTE_DEBUG=" " fi -JVM_EXTRA_PROPS=" ${JVM_MEM_OPTIONS:-' '} " +JVM_EXTRA_PROPS=" ${JVM_MEM_OPTIONS:- } " export ALL_PROPS="$JVM_EXTRA_PROPS $PROFILES $SSL_PROPS $CLIENT_MQTT_SSL_PROPS $OVSDB_PROPS $MQTT_PROPS $LOGGING_PROPS $RESTAPI_PROPS $SPRING_EXTRA_PROPS $HOST_PROPS $PROV_PROPS $FILE_STORE_PROPS $REMOTE_DEBUG" diff --git a/opensync-gateway-static-docker/src/main/docker-opensync-gateway-and-mqtt/app/run.sh b/opensync-gateway-static-docker/src/main/docker-opensync-gateway-and-mqtt/app/run.sh index a151f0f..17edc81 100755 --- a/opensync-gateway-static-docker/src/main/docker-opensync-gateway-and-mqtt/app/run.sh +++ b/opensync-gateway-static-docker/src/main/docker-opensync-gateway-and-mqtt/app/run.sh @@ -174,7 +174,7 @@ RESTAPI_PROPS="$RESTAPI_PROPS -Dserver.port=4043" SPRING_EXTRA_PROPS=" --add-opens java.base/java.lang=ALL-UNNAMED" -JVM_EXTRA_PROPS=" ${JVM_MEM_OPTIONS:-' '} " +JVM_EXTRA_PROPS=" ${JVM_MEM_OPTIONS:- } " export ALL_PROPS="$JVM_EXTRA_PROPS $PROFILES $SSL_PROPS $CLIENT_MQTT_SSL_PROPS $OVSDB_PROPS $MQTT_PROPS $LOGGING_PROPS $RESTAPI_PROPS $SPRING_EXTRA_PROPS " diff --git a/opensync-gateway-static-docker/src/main/docker/app/run.sh b/opensync-gateway-static-docker/src/main/docker/app/run.sh index b6cf8de..4f433e0 100755 --- a/opensync-gateway-static-docker/src/main/docker/app/run.sh +++ b/opensync-gateway-static-docker/src/main/docker/app/run.sh @@ -56,7 +56,7 @@ RESTAPI_PROPS+=" -Dserver.port=443" SPRING_EXTRA_PROPS=" --add-opens java.base/java.lang=ALL-UNNAMED" -JVM_EXTRA_PROPS=" ${JVM_MEM_OPTIONS:-' '} " +JVM_EXTRA_PROPS=" ${JVM_MEM_OPTIONS:- } " export ALL_PROPS="$JVM_EXTRA_PROPS $PROFILES $SSL_PROPS $CLIENT_MQTT_SSL_PROPS $OVSDB_PROPS $MQTT_PROPS $LOGGING_PROPS $RESTAPI_PROPS $SPRING_EXTRA_PROPS"