Skip to content

Commit 3460318

Browse files
committed
Activated useSystemProxies java property when proxy config set
Fixes itzg#415
1 parent 2ee5a25 commit 3460318

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

start-configuration

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ rm /data/.verify_access || true
4040
if [[ $PROXY ]]; then
4141
export http_proxy="$PROXY"
4242
export https_proxy="$PROXY"
43+
export JAVA_TOOL_OPTIONS+="-Djava.net.useSystemProxies=true"
4344
log "INFO: Giving proxy time to startup..."
4445
sleep 5
4546
fi
@@ -115,11 +116,11 @@ case "${TYPE^^}" in
115116
;;
116117

117118
MAGMA)
118-
exec ${SCRIPTS:-/}start-magma "$@"
119+
exec ${SCRIPTS:-/}start-deployMagma "$@"
119120
;;
120121

121122
MOHIST)
122-
exec ${SCRIPTS:-/}start-mohist "$@"
123+
exec ${SCRIPTS:-/}start-deployMohist "$@"
123124
;;
124125

125126
*)

0 commit comments

Comments
 (0)