Raised This Month: $ Target: $400
 0% 

[CSGO] Auto restart to update


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
dustinandband
Senior Member
Join Date: May 2015
Old 11-28-2019 , 14:26   Re: [CSGO] Auto restart to update
Reply With Quote #2

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
dustinandband 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