diff --git a/README.md b/README.md index a91a22af..5f7ac9f0 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,8 @@ services: volumes: - /path/to/cs2server:/data network_mode: host + environment: + - UPDATE_CHECK=60 restart: unless-stopped ``` @@ -46,13 +48,14 @@ docker run -d \ -p 27015:27015 \ -p 27020:27020/udp \ -p 27005:27005/udp \ + -e UPDATE_CHECK=60 \ --restart unless-stopped \ gameservermanagers/gameserver:cs2 ``` ### First Run -Before the first run, make sure to edit the docker-compose.yml file by changing the image tag and container_name to match your chosen game server. Upon the initial run, LinuxGSM will install the selected server and start running. The game server details will be displayed once the installation is complete. +Before the first run, make sure to edit the docker-compose.yml file by changing the image tag and container_name to match your chosen game server. Upon the initial run, LinuxGSM will install the selected server and start running. The game server details will be displayed once the installation is complete. By default, LinuxGSM checks for game server updates every 60 minutes and each time the container starts. Set `UPDATE_CHECK` to a value from 1 to 59 to change the interval in minutes, or to `0` to turn off scheduled checks. Set `UPDATE_ON_START=false` to skip the update when the container starts. ### Game Server Ports