SRCDS Steam group


Perioidic restarts?
#1
I was wondering if any of you know of a way to periodically restart a SRCDS, say every 30 minutes or one hour, as long as the server is empty? I have my server restarting early in the morning, and bringing everything online, But with the Linux SCDS build seemingly eating memory if its not restarted after a while, I'm looking for a way to restart them, whilst empty after a period of time.


Any help would be appreciated,

-Christy

EDIT: I didn't post any server specs... But I'm using Debian 5 x64
Reply
#2
you could write some shell script that runs qstat to find out, if the server is empty, and restart it then (just by killing it).

edit: IIRC there is some sourcemod plugin that allows running some command periodically. maybe that can be used for this purpose, but I am not sure. I guess that also doesn't work without some basic programming skills...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)