[cod] startup script

Donald Stephens donald.stephens at activant.com
Mon Jan 21 08:09:34 EST 2008


I use a free application that manages to manage my servers called
scinterface. Its like the control panel that game hosting comapies would
use. Its pretty simple to install and you can get it at
www.scinterface.com <http://www.scinterface.com/> . They also have a
free version.

 

If you want non-linux people to be able to admin your servers then this
is the way to go.

 

And no. I don't work for them. I just love the application.

 

________________________________

From: Georgecooldude [mailto:georgecooldude at gmail.com] 
Sent: Monday, January 21, 2008 1:23 AM
To: cod at icculus.org
Subject: Re: [cod] startup script

 

Hi

I use this to run multiple ones (on the same physical box) but a
different user account for each one. Thats the only downside.

Once I get home from work in about 10 hours I'll post examples how you
can run 1, 2 and more instances. 

Regards

On Jan 21, 2008 8:36 AM, Goedegebure, B.M. (0763871)
<0763871 at student.hro.nl> wrote:

Thanks george,

But I'm running multiple servers, this script will exit them all and
start 1.

>>> georgecooldude at gmail.com 21-1-2008 1:24 >>> 

I use this. It was posted a while ago probably as an attachment. Needs
screen to run.


START SCRIPT

#***********************************************************************
********************** 
#Call of Duty X Start Script
# ---------------------------

export LD_LIBRARY_PATH=":"

# Make sure you have the correct ip and user name set below
# --------------------------------------------------------- 

IP=<IP-HERE>
USR=<USERNAME-HERE>
INSTALL=<PATH-TO-DATA-FILES-HERE>

# Let's make sure the server is not running
# -----------------------------------------
screen -S $USR -X quit 
killall -9 cod4_lnxded

# Now the command line that starts the server
# ------------------------------------------

screen -A -m -d -S $USR $INSTALL/cod4_lnxded \
+set net_ip $IP +set net_port <PORT-NUMBER-HERE> +set fs_basepath \ 
$INSTALL +set fs_homepath /home/$USR +set sv_punkbuster 1 \
+set sv_pure 1 +exec server.cfg +map_rotate

echo ""
echo "CodX-Server running under user $USR has been started"
echo "" 


# End of File
#***********************************************************************
**********************


STOP SCRIPT
USR=<USERNAME-HERE>
screen -S $USR -X quit


On Jan 20, 2008 11:33 PM, Marin Goedegebure < 0763871 at student.hro.nl>
wrote:

>  Dear cod4 admins,
>
>
>
> Which startup scripts do you use for cod4 v1.4 and damage logging? I
tried
> the archives but the attached file was gone. 
>
>
>
> Greetings,
>
> Saiko
>



---
To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
 
 
Notice: This transmission is for the sole use of the intended recipient(s) and may contain information that is confidential and/or privileged.  If you are not the intended recipient, please delete this transmission and any attachments and notify the sender by return email immediately.  Any unauthorized review, use, disclosure or distribution is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20080121/fa53cdce/attachment.htm>


More information about the Cod mailing list