I use a combination of an init script (utilizing debian&#39;s start-stop-daemon) and monit, a process monitoring utility. I have monit set to start on boot, and it will start any applications that it is configured to monitor if they weren&#39;t already started.<br>
<br>init script example: <a href="http://www.anarchic-x.com/script/cod2-init.txt">http://www.anarchic-x.com/script/cod2-init.txt</a><br><br>monit can be installed via yum or apt-get<br><br>start-stop-daemon is available on debian/ubuntu, but I can provide an RPM for CentOS if anyone needs one.<br>
<br><div class="gmail_quote">On Mon, Dec 14, 2009 at 4:12 PM, Oliver Warburton <span dir="ltr">&lt;<a href="mailto:olly@inx-gaming.co.uk">olly@inx-gaming.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">When you say &#39;on boot&#39;...<div><br></div><div>Do you mean when you first start the machine up?</div><div><br><div><div class="im"><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="">
<div>Oliver Warburton</div><div>Managing Director</div><div>INX-Network LTD</div><div><br></div><div>INX-Gaming.com</div><div><a href="http://www.inx-gaming.com" target="_blank">www.inx-gaming.com</a></div></div></span> </div>
<br></div><div><div></div><div class="h5"><div><div>On 14 Dec 2009, at 21:05, Frode L wrote:</div><br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div link="blue" vlink="purple" style="" lang="NO-BOK">
<div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: rgb(31, 73, 125);" lang="EN-US">I have tried it, but that does not solve my problem on how to start it at boot or even automatically restarting it upon crash.</span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: rgb(31, 73, 125);" lang="EN-US">I still have to start the screen session at boot, and I don’t have a clue on how to do so.</span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: rgb(31, 73, 125);" lang="EN-US"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;">
<span style="font-size: 11pt; font-family: Calibri,sans-serif; color: rgb(31, 73, 125);" lang="EN-US">Any suggestions? (Reverting to win server is out of the question)<span> </span></span><span style="font-size: 11pt; font-family: Wingdings; color: rgb(31, 73, 125);" lang="EN-US">J</span><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: rgb(31, 73, 125);" lang="EN-US"></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: rgb(31, 73, 125);" lang="EN-US"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;">
<span style="font-size: 11pt; font-family: Calibri,sans-serif; color: rgb(31, 73, 125);" lang="EN-US">Regards</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;">
<span style="font-size: 11pt; font-family: Calibri,sans-serif; color: rgb(31, 73, 125);" lang="EN-US">HotRod</span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;">
<span style="font-size: 11pt; font-family: Calibri,sans-serif; color: rgb(31, 73, 125);" lang="EN-US"> </span></div><div><div style="border-style: solid none none; border-top: 1pt solid rgb(181, 196, 223); padding: 3pt 0cm 0cm;">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><b><span style="font-size: 10pt; font-family: Tahoma,sans-serif;" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: Tahoma,sans-serif;" lang="EN-US"><span> </span>Oliver Warburton [<a href="mailto:olly@inx-gaming.co.uk" style="color: blue; text-decoration: underline;" target="_blank">mailto:olly@inx-gaming.co.uk</a>]<span> </span><br>
<b>Sent:</b><span> </span>14. desember 2009 21:58<br><b>To:</b><span> </span>Call of Duty server admin list.<br><b>Subject:</b><span> </span>Re: [cod] Autostart COD4/WaW linux server at boot</span></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;">
 </div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;">There are several options.</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;">
 </div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;">Using screen isn&#39;t a bad idea- have you checked that?</div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;">
 </div><div><div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 9pt; font-family: Helvetica,sans-serif; color: black;">Oliver Warburton</span></div>
</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 9pt; font-family: Helvetica,sans-serif; color: black;">Managing Director</span></div>
</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 9pt; font-family: Helvetica,sans-serif; color: black;">INX-Network LTD</span></div></div>
<div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 9pt; font-family: Helvetica,sans-serif; color: black;"> </span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;">
<span style="font-size: 9pt; font-family: Helvetica,sans-serif; color: black;">INX-Gaming.com</span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 9pt; font-family: Helvetica,sans-serif; color: black;"><a href="http://www.inx-gaming.com" style="color: blue; text-decoration: underline;" target="_blank">www.inx-gaming.com</a></span></div>
</div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"> </div><div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;">
On 14 Dec 2009, at 20:52, Frode L wrote:</div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><br><br></div><div><div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;">
<span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;" lang="EN-US">Hi I’m a bit newbie when it comes to nix servers and I really need some help.</span><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;"></span></div>
</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;" lang="EN-US">I have been looking all over the net for a tutorial on this subject, hopefully I have found the right spot.</span><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;"></span></div>
</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;" lang="EN-US"> </span><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;"></span></div>
</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;" lang="EN-US">Anyone got a good tutorial or can help me to get a COD4 or WaW linux server to start at boot?</span><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;"></span></div>
</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;" lang="EN-US">I got the server running, but so far in a putty window and I can’t have it running like that.</span><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;"></span></div>
</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;" lang="EN-US"> </span><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;"></span></div>
</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;" lang="EN-US">The server is running on a CentOS box with Webmin, Putty and local access, no GUI other than the Webmin.</span><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;"></span></div>
</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;" lang="EN-US"> </span><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;"></span></div>
</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;" lang="EN-US">All help would be appreciated..</span><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;"></span></div>
</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;" lang="EN-US"> </span><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;"></span></div>
</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;" lang="EN-US">Regards</span><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;"></span></div>
</div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;" lang="EN-US">HotRod</span><span style="font-size: 11pt; font-family: Calibri,sans-serif; color: black;"></span></div>
</div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"><span style="font-size: 13.5pt; font-family: Helvetica,sans-serif; color: black;">_______________________________________________<br>
cod mailing list<br><a href="mailto:cod@icculus.org" style="color: blue; text-decoration: underline;" target="_blank">cod@icculus.org</a><br><a href="http://icculus.org/mailman/listinfo/cod" style="color: blue; text-decoration: underline;" target="_blank">http://icculus.org/mailman/listinfo/cod</a></span></div>
</div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &#39;Times New Roman&#39;,serif;"> </div></div></div>_______________________________________________<br>cod mailing list<br><a href="mailto:cod@icculus.org" style="color: blue; text-decoration: underline;" target="_blank">cod@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/cod" style="color: blue; text-decoration: underline;" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br></div></span></blockquote></div><br></div></div></div></div>
</div><br>_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org">cod@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Geoff Goas<br>Network Engineer<br>