mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-05-31 16:14:51 +00:00
[mc] Robust handling of Forge, Bukkit, and Spigot version selection
* refactor server.properties sed ops into a utility function * also switch to jq instead of jsawk * simplify to BUILD_FROM_SOURCE from BUILD_SPIGOT_FROM_SOURCE Fixes #70
This commit is contained in:
@@ -11,4 +11,9 @@ while lsof -- /start-minecraft; do
|
||||
echo -n "."
|
||||
sleep 1
|
||||
done
|
||||
exec /start-minecraft
|
||||
|
||||
mkdir /home/minecraft
|
||||
chown minecraft: /home/minecraft
|
||||
|
||||
echo "Switching to user 'minecraft'"
|
||||
exec sudo -E -u minecraft /start-minecraft
|
||||
|
||||
Reference in New Issue
Block a user