[bf1942] restart script

Tim Cooper tim at myinternetservices.com
Thu Jul 7 13:01:34 EDT 2005


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'

Thanks,

-----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
do
cd /path/to/bf2/
./start.sh
date >> ea_sux.log
sleep 5
done

Greetings from Bavaria... :)

Martin

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 mailing list