<!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.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>here is my startup config that works&nbsp; just 
fine.&nbsp; If i find the server not responding I just login and kill -9 the 
pid</FONT></DIV>
<DIV><FONT face=Arial size=2>#!/bin/bash</FONT></DIV>
<DIV><FONT face=Arial size=2>while 
true<BR>do<BR>/home/user/callofduty/cod_lnxded +exec ded.cfg +sets gamestartup 
\"`date +"%m-%d-%Y %T"`\"<BR>echo "server crashed on `date`" &gt; 
last_crash.txt<BR>done</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=natedog550@hotmail.com href="mailto:natedog550@hotmail.com">Nathan 
  Peters</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> Monday, December 15, 2003 9:11 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cod] Linux Startup 
  scripts?</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Not sure if I can help you there man.&nbsp; I 
  don't know a ton about linux.&nbsp; Yet there is a bunch of peeps here that 
  do.&nbsp; I will tell you in advance what they will need.&nbsp; Do a top 
  command or something that shows all the processes running.&nbsp; Too many 
  variables can contribute to stuff like that - hanging, crashing, etc.&nbsp; 
  More details you can give them the better.&nbsp; What my script does is run 
  the program in the background and gives it the nohup command and also writes 
  to a logfile.&nbsp; This keeps the process from quittin'.&nbsp; It works very 
  well.&nbsp; I'm very proud of myself haha.&nbsp; Many hours of research and 
  search engines finding the pieces I needed to make it work.&nbsp; As far as 
  the screen command goes I don't know enough about that to help you.&nbsp; But 
  from what I have learned it keeps it running when you close the shell or 
  logoff the system.&nbsp; Anyone can correct me if I'm wrong.&nbsp; Anyways, 
  that's my input.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Nathan - A.K.A - [BASHYOU] SNiPeS</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=mikeydee@usd.wli.net 
    href="mailto:mikeydee@usd.wli.net">MikeyDee</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> Monday, December 15, 2003 10:57 
    AM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cod] Linux Startup 
    scripts?</DIV>
    <DIV><BR></DIV>
    <DIV><FONT face=Arial size=2>That sounds wonderful.&nbsp; I have been 
    running the server and never had crash yet it just hangs with either 100% 
    cpu and none can connect.&nbsp; That&nbsp; is what I am trying to sort out 
    getting restarted?</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Red Hat 8.0 install on the OS.&nbsp; I have not 
    tried the latest screen commands does that change the way the dedicated 
    server runs?</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=natedog550@hotmail.com 
      href="mailto:natedog550@hotmail.com">Nathan Peters</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> Monday, December 15, 2003 6:58 
      AM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cod] Linux Startup 
      scripts?</DIV>
      <DIV><BR></DIV>
      <DIV><FONT face=Arial size=2>Hey everyone.&nbsp; It took me 5 hours this 
      weekend to write custom startup, restart, and shutdown scripts for the 
      medal of honor linux server - because the server I'm hosted on doesn't 
      have the screen command and I didn't want to have to install a ton of 
      stuff to make it work.&nbsp; I'm also in the process of writing scripts to 
      turn mods on and off very easily and also a script that emails me when the 
      server goes down or a script that restarts the server, not sure yet.&nbsp; 
      But, I'm pretty sure these scripts will&nbsp;work for CoD also.&nbsp; I 
      copywrited or licensed them whatever you want to call it with the GNU 
      license so they're free but I still get credit for writing them, so if you 
      want to take a look at them let me know and I'll put them somewhere where 
      you can download them, that way you get a copy of the license.&nbsp; 
      Reason: It took me a long time to do this and I doubt anyone has scripts 
      like these.&nbsp; They can be run from a cron also.</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>Peace out,</FONT></DIV>
      <DIV><FONT face=Arial size=2>&nbsp; Nathan - A.K.A. [BASHYOU] 
      SNiPeS</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=david@fuess.net href="mailto:david@fuess.net">David A. 
        Fuess</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> Monday, December 15, 2003 
        7:32 AM</DIV>
        <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [cod] Linux Startup 
        scripts?</DIV>
        <DIV><BR></DIV>I have mine in a forever loop with a 5 second delay. If 
        it crashes, which is rare, it the quit command is issued then it pauses 
        for 5 seconds and restarts the server. The script also manages the log 
        files and other cleanup tasks.<BR><BR>At 10:13 AM 12/13/2003 -0800, you 
        wrote:<BR><BR>
        <BLOCKQUOTE class=cite cite="" type="cite"><FONT face=arial 
          color=#000080 size=2>Okay thanks for all the 
          feedback.<BR></FONT><BR><FONT face=arial color=#000080 
          size=2>&nbsp;<BR></FONT><BR><FONT face=arial color=#000080 size=2>Next 
          question is I used to have to set a cron job or something to restart 
          the server when it hangs or crashes.<BR></FONT><BR><FONT face=arial 
          color=#000080 size=2>&nbsp;<BR></FONT><BR><FONT face=arial 
          color=#000080 size=2>Anyone using any daemon tools or supervisor tools 
          on CoD that work.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
          <BR></FONT><BR><FONT face=arial color=#000080 size=2>&nbsp;<BR>
          <HR>

          <DIV align=center></FONT></DIV><FONT face=tahoma size=2><B>From:</B> 
          Rene de Vries [<A href="mailto:rene.devries@home.nl" 
          eudora="autourl">mailto:rene.devries@home.nl</A>] <BR><B>Sent:</B> 
          Thursday, December 11, 2003 11:21 PM<BR><B>To:</B> 
          cod@icculus.org<BR><B>Subject:</B> RE: [cod] Linux Startup 
          scripts?<BR></FONT><BR><FONT 
          face="Times New Roman, Times">&nbsp;<BR></FONT><BR><FONT face=arial 
          color=#0000ff size=2>Hi,<BR></FONT><BR><FONT 
          face="Times New Roman, Times">&nbsp;<BR></FONT><BR><FONT face=arial 
          color=#0000ff size=2>create a file<BR></FONT><BR><FONT face=arial 
          color=#0000ff size=2>ex: vi start<BR></FONT><BR><FONT face=arial 
          color=#0000ff size=2>paste this "screen -A -m -d -S cod /cod_lnxded 
          +map_rotate"<BR></FONT><BR><FONT face=arial color=#0000ff size=2>write 
          and quit vi<BR></FONT><BR><FONT face=arial color=#0000ff size=2>chmod 
          +777 start<BR></FONT><BR><FONT face=arial color=#0000ff 
          size=2>execute: ./start<BR></FONT><BR><FONT face=arial color=#0000ff 
          size=2>ctrl a+d to leave the screen<BR></FONT><BR><FONT 
          face="Times New Roman, Times">&nbsp;<BR></FONT>
          <DL><BR>
            <DD><FONT face=tahoma size=2>-----Oorspronkelijk bericht-----<BR>
            <DD>Van:</B> MikeyDee [<A href="mailto:mikeydee@usd.wli.net" 
            eudora="autourl">mailto:mikeydee@usd.wli.net</A>]<BR>
            <DD>Verzonden:</B> vrijdag 12 december 2003 0:43<BR>
            <DD>Aan:</B> cod@icculus.org<BR>
            <DD>Onderwerp:</B> [cod] Linux Startup scripts?<BR></FONT><BR>
            <DD><FONT face=arial size=2>anyone have linux startup script 
            ?<BR></FONT><BR>
            <DD><FONT face="Times New Roman, Times"><BR></FONT><BR>&nbsp; 
            <DD><FONT face=arial size=2>beside doing /cod_lnxded<BR></FONT><BR>
            <DD><FONT face="Times New Roman, Times"><BR></FONT><BR>&nbsp; 
            <DD><FONT face=arial size=2>I was trying to add +set commands to get 
            it automated but seem to fail on me?<BR></FONT><BR>
            <DD><FONT 
        face="Times New Roman, Times"><BR></FONT>&nbsp;</DD></DL></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>