[bf1942] restart script
trogspam at games.telstra.com
Fri Jul 8 01:15:36 EDT 2005
We've just released a piece of software we used to use to manage our
game servers - GameMon will let you monitor servers via QStat and
restart them if they fail a number of queries (or if the process dies).
You'll probably need to use the QStat out of CVS to get support for the
latest GameSpy protocol that BF2 uses.
Can invoke it thusly for BF2:
gamemon.exe -c "c:\games\bf2unranked\bf2_w32ded.exe" -d
"c:\games\bf2unranked" -g gs3 -i 10.1.1.10 -p 29900
(Note you need to specify the query port for the BF2 server, not the
---- Original Message ----
From: "Tim Cooper" <tim at myinternetservices.com>
To: <bf1942 at icculus.org>
Sent: Friday, July 08, 2005 3:01 AM
Subject: RE: [bf1942] restart script
> When I try this it works on all but 1 of my fc3 servers
> startit.sh: line 8: syntax error near unexpected token `done'
> startit.sh: line 8: `done'
> -----Original Message-----
> From: badsl [mailto:badsl at zefix.org]
> Sent: Thursday, July 07, 2005 10:33 AM
> To: bf1942 at icculus.org
> Subject: Re: [bf1942] restart script
> This script will restart the server on crash and write the time and
> date into ea_sux.log
> #! /bin/sh
> while true
> cd /path/to/bf2/
> date >> ea_sux.log
> sleep 5
> Greetings from Bavaria... :)
> Am Thu, 07 Jul 2005 18:19:11 +0200 schrieb Tim Cooper
> <tim at myinternetservices.com>:
>> I am sure this has been asked a 1000 times and maybe I missed it.
>> Dioes anyone have a restart script? ...... my patched linux server
>> are crashing constantly ..
>> I have many ranked servers and out of 11 of them 7 have crashed more
>> then once with e seq fault
More information about the Bf1942