Disable server hibernation by default as this has been observed to cause server crashes

This commit is contained in:
John Edwards 2023-12-17 16:39:54 +00:00
parent 30fb7aa77d
commit 7b65096143
5 changed files with 33 additions and 26 deletions

View file

@ -51,6 +51,9 @@ Feel free to overwrite these environment variables, using -e (--env):
```dockerfile
SRCDS_TOKEN="" (Game Server Token from https://steamcommunity.com/dev/managegameservers)
CS2_SERVERNAME="changeme" (Set the visible name for your private server)
CS2_SERVER_HIBERNATE=0 (Put server in a low CPU state when there are no players.
0 - hibernation disabled, 1 - hibernation enabled
n.b. hibernation has been observed to trigger server crashes)
CS2_IP="" (CS2 server listening IP address, 0.0.0.0 - all IP addresses on the local machine, empty - IP identified automatically)
CS2_PORT=27015 (CS2 server listen port tcp_udp)
CS2_RCON_PORT="" (Optional, use a simple TCP proxy to have RCON listen on an alternative port.