From 34603184a47688cf77b6838d29c51059f1391570 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Fri, 19 Jun 2020 15:33:33 -0500 Subject: [PATCH] Activated useSystemProxies java property when proxy config set Fixes #415 --- start-configuration | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/start-configuration b/start-configuration index a41cae58..f5f9e23a 100644 --- a/start-configuration +++ b/start-configuration @@ -40,6 +40,7 @@ rm /data/.verify_access || true if [[ $PROXY ]]; then export http_proxy="$PROXY" export https_proxy="$PROXY" + export JAVA_TOOL_OPTIONS+="-Djava.net.useSystemProxies=true" log "INFO: Giving proxy time to startup..." sleep 5 fi @@ -115,11 +116,11 @@ case "${TYPE^^}" in ;; MAGMA) - exec ${SCRIPTS:-/}start-magma "$@" + exec ${SCRIPTS:-/}start-deployMagma "$@" ;; MOHIST) - exec ${SCRIPTS:-/}start-mohist "$@" + exec ${SCRIPTS:-/}start-deployMohist "$@" ;; *)