<!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.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>No screen needed. Don't know why anyone would want
to run the process if they didn't need to. Does it have any denefits or help the
game in any way?<BR></FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=RockCrusher@rogers.com
href="mailto:RockCrusher@rogers.com">[MgA]RockCrusher</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=cod@icculus.org
href="mailto:cod@icculus.org">cod@icculus.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, December 05, 2004 1:49
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cod] Running CoD servers as
a Linux Daemon</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Thanks Jay. I was wondering about the use
of Screen within a Daemon job. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any suggestions as to the run startup script for
CoD is you don't use screen and use setusergid?</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jayco1@charter.net href="mailto:jayco1@charter.net">Jay Vasallo</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=cod@icculus.org
href="mailto:cod@icculus.org">cod@icculus.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, December 04, 2004 12:07
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cod] Running CoD servers
as a Linux Daemon</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>I do not use screen with daemon tools. The run
file that you create, or your start script is monitored thru daemon. If the
process is killed with a console command </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>\rcon quit, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>the supervise process restarts the server.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If you have mutliple servers booting off
of main game installtion files, it is always wise to leave a server
config in the main installtion. When the server starts it will use the main
installtion server.cfg if the user's config is not present.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If a client does not have a file or config
properly edited or in the correct folder, the process will not restart.
Always keep a server.cfg located in your main installation.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Example:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Main installation server config at
/games/cod/cod-server/uo/server.cfg</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>User's server config at
/home/user/cod-server/uo/server.cfg</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If configs are not present, I have seen the
process take the whole cpu at 99%. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Daemontools is good program if installed
correctly. Once installed, the program will create a folder called /service
</FONT></DIV>
<DIV><FONT face=Arial size=2>cd /service</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now create a folder and name it whatever the
user is named.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>mkdir sbclan</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now if you do the "ls" command, you will notice
that there is now a folder called /service/sbclan/supervise </FONT></DIV>
<DIV><FONT face=Arial size=2>This is made by daemon tolls. Don't even bother
with this folder. Let it be.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now you have to have created a start script and
call it run. Copy the run file so it ends up as </FONT></DIV>
<DIV><FONT face=Arial size=2>/service/sbclan/run. The run file has have the
setusergid command within the file . <A
href="http://cr.yp.to/daemontools/setuidgid.html">http://cr.yp.to/daemontools/setuidgid.html</FONT><FONT
face=Arial size=2></A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>now "chmod +x run" and the service will start.
you will also notice that the server has started.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>svc -d /service/sbclan - will kill the
server.</FONT></DIV>
<DIV><FONT face=Arial size=2>svc -u /service/sbclan - will restart the
server</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Once in a great while, I enter my ventrilo
boxes and give the "ps aux" command to see all the processes. If a notice an
error, i killed the process by thru daemon and search for the config error.
After correcting the error, I would restart the process.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I like using it, unlike many other
people.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>cheers</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=rmount@pobox.com href="mailto:rmount@pobox.com">Robert Mount</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=cod@icculus.org
href="mailto:cod@icculus.org">cod@icculus.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, December 03, 2004 10:28
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cod] Running CoD
servers as a Linux Daemon</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>> You can run them on deamon
tools</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN
style="DISPLAY: inline; FONT-WEIGHT: normal; FONT-SIZE: medium; COLOR: black; FONT-STYLE: normal; BACKGROUND-COLOR: white"><FONT
face=Arial size=2>Does deamontools let you monitor a screen process?
I've tried Cron and ended up with multiple server instances (periodically,
like one extra server per day or so).</FONT></SPAN></DIV>
<DIV><SPAN
style="DISPLAY: inline; FONT-WEIGHT: normal; FONT-SIZE: medium; COLOR: black; FONT-STYLE: normal; BACKGROUND-COLOR: white"><FONT
face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN
style="DISPLAY: inline; FONT-WEIGHT: normal; FONT-SIZE: medium; COLOR: black; FONT-STYLE: normal; BACKGROUND-COLOR: white"><FONT
face=Arial size=2>--Rob</FONT></DIV>
<DIV><BR></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></SPAN><!-- END-ANTISPAM-VOTING-LINKS --></BODY></HTML>