Update README.md

This commit is contained in:
Andrew Marchukov 2021-04-29 09:24:21 +03:00 committed by GitHub
parent 6f849833b5
commit 6c01d7b774
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,9 +51,18 @@ LAUNCH_SERVER_ENV=-MapCycle=MapCycle -Mods ModList=Mods.txt -mutators=ISMCarmory
### Tips and Tricks ### Tips and Tricks
#### Server auto update #### Server auto update
SteamCMD to autoupdate game server. This script will keep your game servers automaticly updated updating intervals announce the server is shutting down for updates
Requirements: [rcon-cli](https://github.com/gorcon/rcon-cli/releases)
```
wget https://github.com/gorcon/rcon-cli/releases/download/v0.9.1/rcon-0.9.1-amd64_linux.tar.gz
tar -xvzf rcon-0.9.1-amd64_linux.tar.gz
cp rcon-0.9.1-amd64_linux/rcon /usr/local/bin/
```
Get restart script example Get restart script example
in the end curl get last manifest server version on steam in the end of server restart or start curl get last manifest server version on steam
``` ```
wget --no-check-certificate -O /opt/restart-ins.sh https://raw.githubusercontent.com/AndrewMarchukov/insurgency-sandstorm-server-dockerize/master/AutoUpdater/restart-ins.sh wget --no-check-certificate -O /opt/restart-ins.sh https://raw.githubusercontent.com/AndrewMarchukov/insurgency-sandstorm-server-dockerize/master/AutoUpdater/restart-ins.sh
chmod +x /opt/restart-ins.sh chmod +x /opt/restart-ins.sh