mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
4ff077f151
- Create 'minecraft' user account within image. - Drop to 'minecraft' user before starting server.
5 lines
103 B
Bash
Executable File
5 lines
103 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
chown -R minecraft:minecraft /data
|
|
exec su -s /bin/bash -c /start-minecraft minecraft
|