Raised This Month: $ Target: $400
 0% 

[CS:GO\ANY] AutoUpdating without server hibernation, how?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kempus
Member
Join Date: Jan 2016
Old 08-16-2016 , 18:42   [CS:GO\ANY] AutoUpdating without server hibernation, how?
Reply With Quote #1

Hi,
I have a dedicated server with 4 srcds running on it. I have and autoupdate script which is loaded on server start/restart.

So basically all is working good, but when i turn off server hibernation, server is not restarting automatically on update request, when the hibernation is turned on it is restarting properly.

How to make server restart on master server update query with no hibernation needed? I don't want to hibernate my servers - don't ask why, i just don't want hibernating.

Tried: https://forums.alliedmods.net/showthread.php?t=170532 - not working.

Last edited by Kempus; 08-16-2016 at 18:43.
Kempus is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 08-16-2016 , 18:49   Re: [CS:GO\ANY] AutoUpdating without server hibernation, how?
Reply With Quote #2

You should tell us what system you're using, Linux or Windows.
Windows: https://forums.alliedmods.net/showthread.php?t=213461 or a batch script running scheduled timer
Linux: http://gameservermanagers.com/lgsm/csgoserver/
Maxximou5 is offline
Kempus
Member
Join Date: Jan 2016
Old 08-16-2016 , 18:59   Re: [CS:GO\ANY] AutoUpdating without server hibernation, how?
Reply With Quote #3

Quote:
Originally Posted by Maxximou5 View Post
You should tell us what system you're using, Linux or Windows.
Windows: https://forums.alliedmods.net/showthread.php?t=213461 or a batch script running scheduled timer
Linux: http://gameservermanagers.com/lgsm/csgoserver/
I want some script/plugin which will restart the server when it gets master server update request, thats all, i have an autoupdate script which is working good, but without hibernation server is not restarting, so the update isn't working.
My OS is Debian 8 x64
My launching script:
Code:
http://wklej.org/id/2784473/
Autoupdate script:
Code:
login anonymous 
force_install_dir ../
app_update 740
quit

Last edited by Kempus; 08-16-2016 at 19:00.
Kempus is offline
Kempus
Member
Join Date: Jan 2016
Old 08-17-2016 , 12:59   Re: [CS:GO\ANY] AutoUpdating without server hibernation, how?
Reply With Quote #4

I found a way to do this magic.

Step 1: Install SteamWorks.ext https://forums.alliedmods.net/showthread.php?t=229556
Step 2: Install SteamWorks.ext Update Check https://forums.alliedmods.net/showthread.php?p=2331846
Step 3 (optional): Install Automatic Steam Updater https://forums.alliedmods.net/showthread.php?t=253404

I think this should work, i'm waiting for cs:go update to test it out.
Kempus is offline
Sw33T3R
AlliedModders Donor
Join Date: Mar 2014
Old 08-19-2016 , 17:48   Re: [CS:GO\ANY] AutoUpdating without server hibernation, how?
Reply With Quote #5

Quote:
Originally Posted by Kempus View Post
I found a way to do this magic.

Step 1: Install SteamWorks.ext https://forums.alliedmods.net/showthread.php?t=229556
Step 2: Install SteamWorks.ext Update Check https://forums.alliedmods.net/showthread.php?p=2331846
Step 3 (optional): Install Automatic Steam Updater https://forums.alliedmods.net/showthread.php?t=253404

I think this should work, i'm waiting for cs:go update to test it out.
Does it working?
Sw33T3R is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 08-19-2016 , 17:56   Re: [CS:GO\ANY] AutoUpdating without server hibernation, how?
Reply With Quote #6

It should work, as I did try it out and was using it for a bit.
I've had the most success with using LGSM like I mentioned.
Simply set a cronjob like:
PHP Code:
*/* * * *  su csgoserver -'/home/csgoserver/csgoserver update' > /dev/null 2>&
It's understandable if you wish not to use it or use something else.
Also you can set a monitor service so that if your server crashes it will restart it for you:
PHP Code:
*/* * * *  su csgoserver -'/home/csgoserver/csgoserver monitor' > /dev/null 2>&
Maxximou5 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 17:45.


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