View Single Post
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