docker-minecraft-server/minecraft-server/start.sh

5 lines
120 B
Bash
Executable File

#!/bin/sh
set -e
chown -R minecraft:minecraft /data /start-minecraft
exec su -s /bin/bash -c /start-minecraft minecraft