[bf1942] does anyone have an working startscript?

Neil Brown neil at twistedsquare.com
Tue Feb 4 17:47:53 EST 2003


At 04:39 PM 04/02/2003 -0600, you wrote:

>What's stopping this from starting up a new instance of the server every 5 
>seconds?

I presume its that su will only return when the server has exited.  So this 
script is designed to start up a new server as soon as the old one 
quits/crashes (well, 5 seconds after)



> > -----Original Message-----
> > From: DLinkOZ [mailto:dlinkoz at oesm.org]
> > Sent: Saturday, January 18, 2003 6:10 PM
> > To: bf1942 at icculus.org
> > Subject: Re: [bf1942] does anyone have an working startscript?
> >
> >
> > Here's what I use (uses su to server account so root can load
> > it at boot,
> > and runs a loop for crashes):
> >
> >
> > #!/bin/bash
> >
> > while true
> > do
> >
> > cd /servers/bf-30plus
> > su xanax -c './bf1942_lnxded'
> >
> > sleep 5
> > done
> >




More information about the Bf1942 mailing list