diff --git a/README.md b/README.md index ea0eb76..f0cf246 100644 --- a/README.md +++ b/README.md @@ -5,12 +5,8 @@ A Linux DayZ server in a Docker container. Edit docker-compose.yml and set the variables: ``` -- STEAMLOGIN=yourSteamLogin - SERVERNAME="DayZ on Linux for Linux" ``` -The steam login is necessary as the server files require ownership -of the game. - Build the container, run it, tail the logs: ``` docker-compose build diff --git a/docker-compose.yml b/docker-compose.yml index 5de7efa..d223142 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,6 +19,5 @@ services: - serverfiles:/home/user/serverfiles - serverprofile:/home/user/serverprofile environment: - - STEAMLOGIN=anonymous # Escape any forwardslashes: SERVERNAME="My thing \/ My other thing" - SERVERNAME=DayZ on Linux for Linux diff --git a/server.sh b/server.sh index c147c63..9da48fe 100755 --- a/server.sh +++ b/server.sh @@ -4,11 +4,7 @@ ulimit -c 0 # This script will take environment variables and put them into the files the script expects. -if ! grep STEAMLOGIN .steamlogin -then - echo "Setting the STEAMLOGIN..." - echo "steamlogin=${STEAMLOGIN}" > .steamlogin -fi +echo "steamlogin=anonymous" > .steamlogin # Do something with SERVERNAME="DayZ on Linux for Linux" if ! grep SERVERNAME serverDZ.cfg