Thread
:
Runnning multiple gameserver
View Single Post
asdfxD
Veteran Member
Join Date: Apr 2011
02-13-2018 , 23:10 Re: Runnning multiple gameserver
#
4
create .txt files in your steam dir for every server you are runing.
update27015.txt, update27115.txt, update27215.txt
add inside the .txt
@ShutdownOnFailedCommand 1
@NoPromptForPassword 1
login anonymous
force_install_dir /home/gameserver/csgo27015
app_update 740
quit
add this to your commandline:
-autoupdate -steam_dir /home/steamcmd -steamcmd_script /home/steamcmd/update27015.txt
the server will auto update if there is an cs go update, the paths are an example.
or use a script like ./srcds-update.sh and set a cronjob every day.
srcds-update.sh:
#!/bin/bash
cd /home/steamcmd
./steamcmd.sh +runscript srcds-update.txt
srcds-update.txt:
@ShutdownOnFailedCommand 1
@NoPromptForPassword 1
login anonymous
force_install_dir /home/gameserver/csgo27015
app_update 740
force_install_dir /home/gameserver/csgo27115
app_update 740
quit
cronjob
5 00 * * * /home/srcds-update.sh
dont think there is a other way to do this. csgo server launcher/opengamepanel do the same and use -autoupdate function.
Last edited by asdfxD; 02-13-2018 at
23:52
.
asdfxD
View Public Profile
Send a private message to asdfxD
Find More Posts by asdfxD