[cod] startup script

Jared Bell jarbell at gmail.com
Thu Jan 24 13:30:12 EST 2008


No need to do +map_rotate and then +map mp_crash. If mp_crash is first
listed in your rotation list, then a +map_rotate is good enough as it will
start out on mp_crash.

On Jan 24, 2008 10:28 AM, Guðmundur Örn Ingvarsson <
Gudmundur.Ingvarsson at landsbanki.is> wrote:

>  Of course that one was for the AA server
>
>
>
> This one is the one for CoD
>
> Still very easy to use and works on any type of gameserver (I also run a
> CS server with the same basic script)
>
>
>
> #!/bin/sh
>
>
>
> # Go to the right dir:
>
> cd /usr/local/cod4-linux-server
>
>
>
> # See how we were called.
>
> case "$1" in
>
> start)
>
> screen -r cod4 -X quit
>
> echo Server has been started!
>
> screen -A -m -d -S cod4 ./cod4_lnxded +set dedicated 2 +set sv_punkbuster
> 1 +set g_antilag 1 +exec server.cfg +map_rotate +map mp_crash
>
> ;;
>
>
>
> stop)
>
> screen -r cod4 -X quit
>
> echo Server has been stopped!
>
> ;;
>
>
>
> *)
>
> echo "Usage: cod4 {start|stop}"
>
> exit 1
>
> ;;
>
>
>
> esac
>
> exit 0
>
>
>
> ___________________________________________
>
> *Guðmundur Örn Ingvarsson
> **Landsbankinn**
> *Kerfisfræðingur / Systems Engineer*
> *Upplýsingatæknisvið / IT Department
> UNIX & Linux Administration
>
> Sími / Tel.: (+354)  410 6730
> Farsími / Mobile: (+354)  820 5074
> Fax: (+354)  410 3032
> gudmundur.ingvarsson at landsbanki.is
> www.landsbanki.is
>
>
>
> *From:* Georgecooldude [mailto:georgecooldude at gmail.com]
> *Sent:* 21. janúar 2008 20:24
> *To:* cod at icculus.org
> *Subject:* Re: [cod] startup script
>
>
>
> Jay's instructions are pretty clear so there is no point me posting
> examples again. BTW nice script Jay
>
> Marin if you get stuck please post back to the list after reading the
> stuff on the clanwarz site.
>
> On Jan 21, 2008 1:16 PM, Clanwarz <clanwarz at gmail.com> wrote:
>
>   Thanks george,
>
> But I'm running multiple servers, this script will exit them all and start
> 1.
>
>
>
> I wrote the script and no it will not exit them all. You must create a
> user for each server.
>
> You can find more info at http://files.clanwarz.net/cod4-server
>
> --jay
>
>
>
>
> Fyrirvari/Disclaimer
> http://www.landsbanki.is/disclaimer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20080124/2c503d72/attachment.htm>


More information about the Cod mailing list