Activated useSystemProxies java property when proxy config set

Fixes #415
This commit is contained in:
Geoff Bourne 2020-06-19 15:33:33 -05:00
parent 2ee5a25c91
commit 34603184a4

View file

@ -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 "$@"
;;
*)