[bf1942] Web Script

Jay Vasallo jayco1 at charter.net
Mon Jul 11 18:31:07 EDT 2005


Tim,

If you are using the line

screen -dmS rental1 /home/username/bf2/start.sh

To start your server, use this line to stop/kill that same process.

screen -S  rental1 -X quit




----- Original Message ----- 
From: "Tim Cooper" <tim at myinternetservices.com>
To: <bf1942 at icculus.org>
Sent: Monday, July 11, 2005 1:38 PM
Subject: RE: [bf1942] Web Script


> Ok I am trying my own thing and so far have it working great using webmin.
>
> Now I have a problem with the scripting  ... in that .... what command 
> would
> I run to check when a user tries to start the server that if its running
> b0rks back at ya saying server is already running
>
>
> Also I am using the line
> screen -dmS rental1 /home/username/bf2/start.sh
>
> what 1 line command would I run to kill the "screen rental1"?
> I know as the user I ssh in and exit ... but I want the webmin to kill the
> process
>
> Thanks,
> Tim
>
>
> -----Original Message-----
> From: Nigel Smart [mailto:nigel.smart at tranceairwaves.com]
> Sent: Monday, July 11, 2005 11:10 AM
> To: bf1942 at icculus.org
> Subject: Re: [bf1942] Web Script
>
> Something i'm working on, similar to the web system in UT2K4 .. will take 
> a
> few more weeks though.
>
> Nigel
> ----- Original Message ----- 
> From: "Tim Cooper" <tim at myinternetservices.com>
> To: <bf1942 at icculus.org>
> Sent: Monday, July 11, 2005 5:44 PM
> Subject: [bf1942] Web Script
>
>
>> Does anyone have a web script that I can give to my clients to start and
>> stop their servers?
>>
>> Ultimately it would be great if we could have it stop 1 and start another
>> .... then vice versa ..
>>
>>
>> Ie ... stop the ranked server and start the unranked server with the
>> password
>>
>> Thanks,
>> Tim
>>
>>
>>
>>
>
>
> 



More information about the Bf1942 mailing list