Something like this could be done with some scripting, but finding a trigger
would be the tough. Without looking into this at all, What i would do is
make a script and use qstat to check if the server is empty and if it is
have it restart the server, just set a cronjob to whatever script you made.
Thats one solution for automated updates, triggering it right when an update
comes out would be harder since well, you need a trigger. Thats my quick
take on it atleast. If you need and help lemme know.

On Sun, Dec 13, 2009 at 1:44 AM, Nathan D. <[email protected]> wrote:

> Currently, when auto-update is turned on and updates to a game are
> released, we have to manually restart our server(s) so that auto-update
> will update the server during start up. Because we have to manually
> restart, there is X amount of time before our server(s) are updated and
> are usually empty since most of the clients have already updated.
>
> A suggestion of mine would be to make auto-update 1.) aware when updates
> are released and 2.) know when the server has players in it or not.
> Therefore, when auto-update knows there is an update available and
> realizes the server is empty, it could automatically issue the "exit"
> command to restart the server so that auto-update will run.
>
> In the meantime while Valve considers my suggestion, does anyone know
> some sort of practical way to have the server restart itself when an
> update is available? For someone who runs many servers, it is a slight
> hassle to restart each server manually so that auto-update can run.
>
> My apologies if something relative to this has already been discussed; I
> just re-joined the mailing list after many years of being unsubscribed.
>
> -Nate
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>


-- 

Stephen 
Leacock<http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html>
- "I detest life-insurance agents: they always argue that I shall some
day
die, which is not so."
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to