Raised This Month: $ Target: $400
 0% 

Linux csgo server auto update


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CookieB
Member
Join Date: Apr 2016
Location: Germany
Old 10-09-2016 , 19:24   Linux csgo server auto update
Reply With Quote #1

Hoi,

So I didn't find an auto updater for csgo servers especially for linux, the steam auto update script function wasn't working for me and I created something of my own.

It's some shellscripts and ruby for glue logic.

You might want to adjust some paths, those files should be in the same location as srcds_run.

It basically opens a screen for the server, uses the log function of screen to get a proper log file ( cs go servers won't flush regularly ),
screen is being identified by it's id so no problems with similar names.

I use environment files to run ruby inside a script, you might want to adjust them if you don't name the gem collection csgo.
The files to be adjusted would be cronUpdate.sh and updateMaps.sh

By default it will also create umc mapcycles and a maplist, if you don't want that just comment out this line in runServer.rb 47: updateMaps()

make sure to update updateCSGO.sh to match your steamcmd.sh path

Install instructions are in the readme. Works fine for me so far.

link

Last edited by CookieB; 10-09-2016 at 19:34.
CookieB is offline
 



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:27.


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