[mc] Add PROXY env var option

For #177
This commit is contained in:
Geoff Bourne
2017-12-08 09:48:55 -06:00
parent b9787182e6
commit 3a64e32184
3 changed files with 30 additions and 0 deletions
+7
View File
@@ -29,6 +29,13 @@ if ! touch /data/.verify_access; then
exit 2
fi
if [[ $PROXY ]]; then
export http_proxy="$PROXY"
export https_proxy="$PROXY"
echo "INFO: Giving proxy time to startup..."
sleep 5
fi
export SERVER_PROPERTIES=/data/server.properties
export FTB_DIR=/data/FeedTheBeast
export VERSIONS_JSON=https://launchermeta.mojang.com/mc/game/version_manifest.json