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

Linux csgo server auto update


Post New Thread Reply   
 
Thread Tools Display Modes
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
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 10-09-2016 , 21:14   Re: Linux csgo server auto update
Reply With Quote #2

especially for linux?? then you didn't look very hard... so this must be some kind of scam ;\
hamilton5 is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 10-10-2016 , 00:45   Re: Linux csgo server auto update
Reply With Quote #3

Quote:
Originally Posted by hamilton5 View Post
especially for linux?? then you didn't look very hard... so this must be some kind of scam ;\
Ive taken a brief look at the code and it looks safe.

<joke>
I mean there are probably a ton of unsafe things on the internet.. not the least of which is that these forums themselves don't have a same origin policy.
Currently it *could* allow a malicious user to do unspeakable things through the use of their signature.
I have seen many dangerous signatures like Asherkins scary monster.

Or maybe something like this
An experienced hacker could find your IP with very little effort.
</joke>
__________________

GZS Servers

Last edited by Puppetmaster; 10-10-2016 at 01:17.
Puppetmaster is offline
CookieB
Member
Join Date: Apr 2016
Location: Germany
Old 10-10-2016 , 01:25   Re: Linux csgo server auto update
Reply With Quote #4

Quote:
Originally Posted by hamilton5 View Post
especially for linux?? then you didn't look very hard... so this must be some kind of scam ;\
thanks for the encouragement, it seems like you took consideration in the fact it is pure source and not pre-compilled. thanks to your advice I am content to just delete the post and never return again.
CookieB is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 10-10-2016 , 01:39   Re: Linux csgo server auto update
Reply With Quote #5

Quote:
Originally Posted by CookieB View Post
thanks for the encouragement, it seems like you took consideration in the fact it is pure source and not pre-compilled. thanks to your advice I am content to just delete the post and never return again.
I thought it was nice code
__________________

GZS Servers
Puppetmaster 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 04:28.


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