mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-16 16:58:12 +00:00
Directly attach stdin of server process by default (#2605)
This commit is contained in:
1 parent
5729324195
commit
ca393c4fcf
3 files changed
+9
-2
No files matched your search
@@ -2,6 +2,11 @@
|
||||
. "/start-utils"
|
||||
: "${CONSOLE_IN_NAMED_PIPE:=/tmp/minecraft-console-in}"
|
||||
|
||||
if isFalse "${CREATE_CONSOLE_IN_PIPE:-false}"; then
|
||||
echo "ERROR: console pipe needs to be enabled by setting CREATE_CONSOLE_IN_PIPE to true"
|
||||
fi
|
||||
|
||||
|
||||
if [ $# = 0 ]; then
|
||||
echo "ERROR: pass console commands as arguments"
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user