<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>My question too. </FONT><FONT face=Arial 
size=2>Below is an example&nbsp;what one of my startup scripts looks 
like.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#ff0000 size=2>#!/bin/sh</FONT></DIV>
<DIV><FONT face=Arial color=#ff0000 size=2>#</FONT></DIV>
<DIV><FONT face=Arial color=#ff0000 size=2># cod startup script</FONT></DIV>
<DIV><FONT face=Arial color=#ff0000 size=2>#</FONT></DIV>
<DIV><FONT face=Arial color=#ff0000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#ff0000 size=2>cd /usr/games/cod</FONT></DIV>
<DIV><FONT face=Arial color=#ff0000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ff0000><FONT face=Arial size=2>nohup ./cod_lnxded +set 
fs_basepath /usr/games/cod +set fs_homepath /home/hyppe/cod </FONT><FONT 
face=Arial size=2>+exec tdm_mp.cfg +set dedicated 2 +map_rotate +set net_ip 
xxx.xxx.xxx.xxx +set net_port 28960 &gt;/dev/null 2&gt;&amp;1 &amp;&nbsp; <FONT 
color=#000000>&lt;--- should be on the same line as above, the line was too long 
and was cut into 2. </FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#ff0000 size=2>ps ax |grep tdm_mp.cfg |grep -v grep 
|awk '{print $1;}' &gt; /home/hyppe/cod/pid.tdmcod</FONT></DIV>
<DIV><FONT face=Arial color=#ff0000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#ff0000 size=2>exit 0</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>fs_basepath is where the game is 
installed.</FONT></DIV>
<DIV><FONT face=Arial size=2>fs_homepath is where all user configfiles, 
logfiles, mods and so on goes.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Just put the text in a file called "codtdm" or 
whatever and do "chmod +x codtdm". To execute it just type ./codtdm</FONT></DIV>
<DIV><FONT face=Arial size=2>This will launch the server into the background and 
also create a file containing the server pid (process id).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I use another script that runs every 10 minutes 
using Crontab, to check if the server is still running, if not it will be 
restarted&nbsp;executing the script above.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Best regards:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Fredric Ollikkala</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT></DIV>
<DIV><FONT face=Arial size=2>From: "Jay Vasallo" &lt;</FONT><A 
href="mailto:jayco1@charter.net"><FONT face=Arial 
size=2>jayco1@charter.net</FONT></A><FONT face=Arial size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>To: &lt;</FONT><A 
href="mailto:cod@icculus.org"><FONT face=Arial 
size=2>cod@icculus.org</FONT></A><FONT face=Arial size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>Sent: Wednesday, December 08, 2004 6:41 
PM</FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: Re: [cod] Multiple COD:UO servers on the 
same box</FONT></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial 
size=2>&gt; Symlink? Why?<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; ----- Original 
Message ----- <BR>&gt; From: "hotrod deathtoll" &lt;</FONT><A 
href="mailto:hotrod_death_toll@yahoo.com"><FONT face=Arial 
size=2>hotrod_death_toll@yahoo.com</FONT></A><FONT face=Arial 
size=2>&gt;<BR>&gt; To: &lt;</FONT><A href="mailto:cod@icculus.org"><FONT 
face=Arial size=2>cod@icculus.org</FONT></A><FONT face=Arial size=2>&gt;<BR>&gt; 
Sent: Wednesday, December 08, 2004 11:37 AM<BR>&gt; Subject: RE: [cod] Multiple 
COD:UO servers on the same box<BR>&gt; <BR>&gt; <BR>&gt;&gt; Thanks David.&nbsp; 
That's what I wanted to know because I<BR>&gt;&gt; wanted to keep it clean like 
you guys are running<BR>&gt;&gt; yours.<BR>&gt;&gt; <BR>&gt;&gt; Thanks 
again.<BR>&gt;&gt; <BR>&gt;&gt; John<BR>&gt;&gt; <BR>&gt;&gt; --- </FONT><A 
href="mailto:david@fuess.net"><FONT face=Arial 
size=2>david@fuess.net</FONT></A><FONT face=Arial size=2> wrote:<BR>&gt;&gt; 
<BR>&gt;&gt;&gt; That's how our servers are setup. We have a 
common<BR>&gt;&gt;&gt; install location for<BR>&gt;&gt;&gt; all games, then 
symlink the shared components into<BR>&gt;&gt;&gt; each games' 
home<BR>&gt;&gt;&gt; directory. The configuration files are local to 
the<BR>&gt;&gt;&gt; game so you can run<BR>&gt;&gt;&gt; different configs on 
each game server if you like.<BR>&gt;&gt;&gt; We normally 
designate<BR>&gt;&gt;&gt; one a Public server that we keep "stock", one 
a<BR>&gt;&gt;&gt; "Custom" server that may<BR>&gt;&gt;&gt; have custom mods or 
maps, and another a "Match"<BR>&gt;&gt;&gt; server that is<BR>&gt;&gt;&gt; 
configured in accordance with the rules of the<BR>&gt;&gt;&gt; competition 
league (TWL,<BR>&gt;&gt;&gt; OGL, whatever).<BR>&gt;&gt;&gt; <BR>&gt;&gt;&gt; 
Dave<BR>&gt;&gt;&gt; <BR>&gt;&gt;&gt; &gt; -------- Original Message 
--------<BR>&gt;&gt;&gt; &gt; Subject: RE: [cod] Multiple COD:UO servers on 
the<BR>&gt;&gt;&gt; same box<BR>&gt;&gt;&gt; &gt; From: "Darren Rathbone" 
&lt;</FONT><A href="mailto:darren@rathbone.org.uk"><FONT face=Arial 
size=2>darren@rathbone.org.uk</FONT></A><FONT face=Arial 
size=2>&gt;<BR>&gt;&gt;&gt; &gt; Date: Tue, December 07, 2004 6:38 
am<BR>&gt;&gt;&gt; &gt; To: </FONT><A href="mailto:cod@icculus.org"><FONT 
face=Arial size=2>cod@icculus.org</FONT></A><BR><FONT face=Arial 
size=2>&gt;&gt;&gt; &gt; <BR>&gt;&gt;&gt; &gt; Certainly can, as long as the 
servers are using<BR>&gt;&gt;&gt; different ports and/or IPs<BR>&gt;&gt;&gt; 
&gt; <BR>&gt;&gt;&gt; &gt; Rgds<BR>&gt;&gt;&gt; &gt; PapaLaz<BR>&gt;&gt;&gt; 
&gt; {tTs.}'TechSpot.co.uk<BR>&gt;&gt;&gt; &gt; <BR>&gt;&gt;&gt; &gt; 
-----Original Message-----<BR>&gt;&gt;&gt; &gt; From: hotrod 
deathtoll<BR>&gt;&gt;&gt; [mailto:hotrod_death_toll@yahoo.com] <BR>&gt;&gt;&gt; 
&gt; Sent: 07 December 2004 14:34<BR>&gt;&gt;&gt; &gt; To: </FONT><A 
href="mailto:cod@icculus.org"><FONT face=Arial 
size=2>cod@icculus.org</FONT></A><BR><FONT face=Arial size=2>&gt;&gt;&gt; &gt; 
Subject: [cod] Multiple COD:UO servers on the same<BR>&gt;&gt;&gt; 
box<BR>&gt;&gt;&gt; &gt; <BR>&gt;&gt;&gt; &gt; Can you have two gameserver 
processes use the same<BR>&gt;&gt;&gt; &gt; binaries and .pk3's without any 
problem??<BR>&gt;&gt;&gt; &gt; <BR>&gt;&gt;&gt; &gt; <BR>&gt;&gt;&gt; &gt; 
<BR>&gt;&gt;&gt; &gt; __________________________________ <BR>&gt;&gt;&gt; &gt; 
Do you Yahoo!? <BR>&gt;&gt;&gt; &gt; Yahoo! Mail - Helps protect you from 
nasty<BR>&gt;&gt;&gt; viruses. <BR>&gt;&gt;&gt; &gt; </FONT><A 
href="http://promotions.yahoo.com/new_mail"><FONT face=Arial 
size=2>http://promotions.yahoo.com/new_mail</FONT></A><BR><FONT face=Arial 
size=2>&gt;&gt;&gt; <BR>&gt;&gt;&gt; <BR>&gt;&gt; <BR>&gt;&gt; <BR>&gt;&gt; 
<BR>&gt;&gt; <BR>&gt;&gt; __________________________________ <BR>&gt;&gt; Do you 
Yahoo!? <BR>&gt;&gt; Read only the mail you want - Yahoo! Mail SpamGuard. 
<BR>&gt;&gt; </FONT><A href="http://promotions.yahoo.com/new_mail"><FONT 
face=Arial size=2>http://promotions.yahoo.com/new_mail</FONT></A><FONT 
face=Arial size=2> <BR>&gt;&gt;<BR>&gt; <BR>&gt;</FONT></BODY></HTML>