diff --git a/Dockerfile b/Dockerfile index fb74198..c8c28a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM debian:stretch ENV TERRARIA_VERISON=1353 \ DUMB_INIT_VERSION=1.2.1 \ GOSU_VERSION=1.10 \ - TERRARIA_DOCKER_VERSION=v0.1.0 \ + TERRARIA_DOCKER_VERSION=v0.2.0 \ HOME=/home/gameserver \ SERVER=/home/gameserver/terraria diff --git a/start.sh b/start.sh index eb4a7c9..930e53b 100755 --- a/start.sh +++ b/start.sh @@ -16,6 +16,5 @@ chown -R gameserver:gameserver /data # Cleanup fifo if already exists [ -e /home/gameserver/terraria_cmd ] && rm -f /home/gameserver/terraria_cmd -exec terraria-docker_linux_amd64 | /usr/local/bin/gosu \ - gameserver \ +exec /usr/local/bin/gosu gameserver terraria-docker -- \ ${SERVER_BINARY} -config /data/config.ini "$@"