<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Is Red Hat looking into doing Upstart?&nbsp; (Or have they already moved?&nbsp; I am a Debian/Ubuntu guy right now)<br>That is a rather significant change to how things get started in Linux.<br><br><br><br><div>&gt; Date: Tue, 12 Jul 2011 13:44:57 -0600<br>&gt; From: chris@fedde.us<br>&gt; To: clue@cluedenver.org<br>&gt; Subject: Re: [clue] [Tech] Red Hat Ent Server runlevels<br>&gt; <br>&gt; The easiest approach is to copy na init.d script for something simple<br>&gt; like cron and modify it for your purposes.  If done right then your<br>&gt; script will work with chkconfig.   The mechanisms are pretty straight<br>&gt; forward but I think it is easier to work from an example than to craft<br>&gt; something from whole cloth.<br>&gt; <br>&gt; On Mon, Jul 11, 2011 at 2:38 PM, Bruce Ediger &lt;bediger@stratigery.com&gt; wrote:<br>&gt; &gt; I'm a native Slackware user, and my other PC runs Arch at the moment,<br>&gt; &gt; but I need some plain talk about Red Hat Enterprise Server runlevels.<br>&gt; &gt;<br>&gt; &gt; Suppose I have a server that I want started when a system boots.<br>&gt; &gt; My understanding is this:<br>&gt; &gt;<br>&gt; &gt; I write a /bin/sh script that takes one command-line parameter, "start"<br>&gt; &gt; or "stop". &nbsp;When run with "start", the script has to fire up the server.<br>&gt; &gt; When run with "stop", it has to stop the server.<br>&gt; &gt;<br>&gt; &gt; I put the /bin/sh script in /etc/rc.d/init.d. &nbsp;I make it owned by<br>&gt; &gt; root/root, and give it 700 permissions.<br>&gt; &gt;<br>&gt; &gt; I create symbolic links from that /bin/sh script to<br>&gt; &gt; /etc/rc.d/rc3.d/S99mynewscript and /etc/rc.d/rc5.d/K99mynewscript<br>&gt; &gt; and /etc/rc.d/rc6.d/K99mynewscript<br>&gt; &gt;<br>&gt; &gt; Then, I reboot and verify that my server gets stopped and started<br>&gt; &gt; correctly.<br>&gt; &gt;<br>&gt; &gt; Is anything wrong with the procedure above? Have I mixed Slackware and<br>&gt; &gt; Arch style runlevels with Red Hat runlevels? &nbsp;Am I even close to<br>&gt; &gt; correct?<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; clue mailing list: clue@cluedenver.org<br>&gt; &gt; For information, account preferences, or to unsubscribe see:<br>&gt; &gt; http://cluedenver.org/mailman/listinfo/clue<br>&gt; &gt;<br>&gt; _______________________________________________<br>&gt; clue mailing list: clue@cluedenver.org<br>&gt; For information, account preferences, or to unsubscribe see:<br>&gt; http://cluedenver.org/mailman/listinfo/clue<br></div>                                               </div></body>
</html>