mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-17 07:03:57 +00:00
22 lines
430 B
Bash
22 lines
430 B
Bash
#!/bin/bash
|
|
|
|
: "${FOLIA_CHANNEL:=experimental}"
|
|
|
|
# shellcheck source=start-utils
|
|
. "$(dirname "$0")/start-utils"
|
|
set -o pipefail
|
|
handleDebugMode
|
|
|
|
if [[ $FOLIA_DOWNLOAD_URL ]]; then
|
|
export PAPER_DOWNLOAD_URL="$FOLIA_DOWNLOAD_URL"
|
|
fi
|
|
|
|
if [[ $FOLIABUILD ]]; then
|
|
export PAPERBUILD="$FOLIABUILD"
|
|
fi
|
|
|
|
PAPER_PROJECT="folia" \
|
|
PAPER_NAME="FoliaMC" \
|
|
PAPER_CHANNEL="${FOLIA_CHANNEL}" \
|
|
exec "$(dirname "$0")/start-deployPaper" "$@"
|