Raised This Month: $51 Target: $400
 12% 

Solved Simple way to update multiple csgo servers


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NIELSAD
Junior Member
Join Date: Oct 2019
Location: Iceland
Old 12-22-2020 , 17:06   Simple way to update multiple csgo servers
Reply With Quote #1

Just wanted too share a quick script to update multiple CS:GO servers on linux since it took me a while to find one and eventually I made my own.

Create a .sh file with the following code inside:

#!/bin/sh
echo "Updateing CS:GO Servers"
sleep 1
echo "Updating server1"
/home/YOUR-USER/YOUR-SERVER-DIR01/steamcmd.sh +login anonymous +force_install_dir ./csgo +app_update 740 validate +quit &&
echo "Updating server2"
/home/YOUR-USER/YOUR-SERVER-DIR02/steamcmd.sh +login anonymous +force_install_dir ./csgo +app_update 740 validate +quit &&
echo "Updating server3"
/home/YOUR-USER/YOUR-SERVER-DIR03/steamcmd.sh +login anonymous +force_install_dir ./csgo +app_update 740 validate +quit
echo "Update complete"

This example would be a script for 3x servers (All fonts in red you must set up according to your server setup locations)
After you create the .sh file with this script just make sure you do "chmod +x filename.sh" to be able to run the .sh file without issues.

Hope this helps someone out there
NIELSAD is offline
DeteCT0R
Member
Join Date: Jun 2012
Location: My Home
Old 12-22-2020 , 18:48   Re: Simple way to update multiple csgo servers
Reply With Quote #2

You should stop the server before start updating sometime its messing up if the server is running.
__________________
My steam:
DeteCT0R is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 12-23-2020 , 01:49   Re: Simple way to update multiple csgo servers
Reply With Quote #3

or just use linuxgsm and you can also update CS:GO, sourcemod/metamod/steamworks with it too
__________________
iGANGNAM is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode