[cod] startup script

Georgecooldude georgecooldude at gmail.com
Mon Jan 21 04:23:20 EST 2008


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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20080121/5e3cf7a6/attachment.htm>


More information about the Cod mailing list