Raised This Month: $ Target: $400
 0% 

[CSGO] Auto restart to update


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hot Dog
Junior Member
Join Date: Oct 2019
Old 11-28-2019 , 17:26   Re: [CSGO] Auto restart to update
Reply With Quote #3

Quote:
Originally Posted by dustinandband View Post
To be honest a lot of auto-update plugins don't really make a lot of sense since callbacks don't get executed if the server's in hibernation mode:
https://forums.alliedmods.net/showpo...8&postcount=27

Makes a lot more sense to have an external python script shut down the server manually every so often and check the server log for the word "MasterRequestRestart" from the previous screen session. That way if the server's been empty all day and there's been an update - you're still guaranteed to get the update.

This is only for linux but it works well.
https://github.com/dustinandband/Auto-Server-Restarter
Thanks! your option seems very good to detect updates and restart with active hibernation.

I don't have Root access on my server, I have thought of a plugin that reboots the server daily when it is empty, but I will have to disable hibernation...
Hot Dog 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 04:56.


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