mirror of
https://github.com/itzg/docker-minecraft-server
synced 2025-01-10 03:08:42 +00:00
10 lines
No EOL
195 B
Bash
Executable file
10 lines
No EOL
195 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if id ubuntu > /dev/null 2>&1; then
|
|
deluser ubuntu
|
|
fi
|
|
|
|
addgroup --gid 1000 minecraft
|
|
adduser --system --shell /bin/false --uid 1000 --ingroup minecraft --home /data minecraft |