Skip to content

/start entrypoint broken #3667

@Wroud

Description

@Wroud

Describe the problem

in last update (Sep 20, 2025 at 11:58 am)

probably this not working:
9a6b858

Container definition

itzg/minecraft-server:java21-alpine

Container logs

[Paste logs here](sh: /start: not found)

i have custom startup command:

set -eu

mkdir -p /data /data-efs

echo "[data] sync data from EFS to fast storage"
if command -v rsync >/dev/null 2>&1; then
  rsync -a --delete /data-efs/ /data/ || true
else
  (cd /data-efs && tar -cf - .) | (cd /data && tar -xf -) || true
fi

export HOME=/data

cleanup() {
  echo "[data] sync data from fast storage to EFS"
  if command -v rsync >/dev/null 2>&1; then
    rsync -a --delete /data/ /data-efs/ || true
  else
    (cd /data && tar -cf - .) | (cd /data-efs && tar -xf -) || true
  fi
}

# Start server in background
/image/scripts/start &
child=$!

# Forward TERM/INT to the server, run cleanup on exit
trap "echo '[shutdown] received signal, stopping server'; kill -TERM $child; cleanup" TERM INT
trap cleanup EXIT

wait $child

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions