[mohaa] linux auto reboot script

The Guvnor guvnor at evildictators.com
Wed Oct 8 05:33:51 EDT 2003


Ian,

Thanks for that, but why 256 zonemegs and 56 hunkmegs? what are these and 
whats the general rule of thumb in setting these levels per hardware spec?

Thanks.

Kim
www.evildictators.com


At 09:09 08/10/2003 +0100, you wrote:
>Terrain D wrote:
>
>>I have a few mohaa servers online, and am looking for a script that will 
>>auto reboot the server if it hangs, or if the server recieves an rcon 
>>exit/quit.
>>
>>Is there such a script, I assume there must be, and where can I get it?
>>
>>Thanks peeps
>>
>To counteract the rcon quit you can just run the server in a loop
>
>--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>cd /path/to/MOHaa
>while true
>do
>./mohaa_lnxded +set fs_basepath ./ +set net_port 12203 +set 
>net_gamespy_port 12205 +set com_zoneMegs 256 +set com_hunkMegs 56 +set 
>vm_game 0 +set ttycon 0 +set dedicated 2 +exec server.cfg
>echo "Server is down. Sleeping for 5 seconds...">&2
>sleep 10
>done
>echo "Error: should never get here!">&2
>exit 0
>;;
>--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>Hopefully that will get over that bit for you.
>
>Ian
>
>
>
>
>





More information about the Mohaa mailing list