I think symlinks are the best choice to save traffic and time for updating.
Otherwise you can also use the batch functionality from steamcmd:

login anonymous
force_install_dir /home/CSGO1
app_update 740
force_install_dir /home/CSGO1
app_update 740
force_install_dir /home/CSGO1
app_update 740
force_install_dir /home/CSGO1
app_update 740
exit


But sometimes the updater stops working or hangs on one update. I don't
trust the steamcmd tool. Sometimes a provider, who is using my updating
script, have problems with it. The steamcmd process is running, but doesn't
do anything. So my problem is, how to detect if the updaterprocess stops
working. Sometimes there are big updates, which takes more time as small
updates with tiny changes in the serverfiles. A fixed time for killing the
process is not a solution. Aditional it makes problems, when I'm trying to
run the update process parallel. So my decision was to use symlinks for all
steam-servers and deploying the serverfiles with a rsync. It is better to
fix one problem with the updater as to fix many problems in different
enviroments.


2014-02-06 Valentin G. <[email protected]>:

> Symlink as much as possible, build a script that automatically
> symlinks any possible new .vpk files. Works fine.
>
> On Thu, Feb 6, 2014 at 2:01 AM, Absurd Minds <[email protected]>
> wrote:
> > I have one script per server, just like that.
> >
> > To each server's startup command, add these two commands:
> >
> > -steam_dir /path/to/steam/dir -steamcmd_script restart.txt
> >
> > Then all you have to do is restart your server, and it will automatically
> > launch that script and update.
> >
> >
> > On Wed, Feb 5, 2014 at 7:56 PM, Ejziponken - <[email protected]> wrote:
> >>
> >> Stupid question: How do I update CSGO installed in diffrent folders at
> the
> >> same time with a script? :P
> >>
> >> atm my script looks like:
> >>
> >> login anonymous
> >> force_install_dir /home/CSGO1
> >> app_update 740
> >> exit
> >>
> >> I have to change CSGO1 and run the script 10 times as it is now.. :P
> >>
> >> _______________________________________________
> >> Csgo_servers mailing list
> >> [email protected]
> >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
> >
> >
> >
> > _______________________________________________
> > Csgo_servers mailing list
> > [email protected]
> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>
> _______________________________________________
> Csgo_servers mailing list
> [email protected]
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Reply via email to