<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: new init.d startup script in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/new-init-d-startup-script/m-p/3494634#M16494</link>
    <description>On RH Linux you can create a custom script and place it in /etc/rc.d/init.d&lt;BR /&gt;&lt;BR /&gt;Place the chkconfig and description lines  lines at the top of the script. See code below.&lt;BR /&gt;&lt;BR /&gt;As root run chkconfig --add scriptname&lt;BR /&gt;&lt;BR /&gt;To verify run chkconfig --list scriptname&lt;BR /&gt;&lt;BR /&gt;That should show you what runlevels the script will start/stop.&lt;BR /&gt;&lt;BR /&gt;You can also utilize the service command once this is done.&lt;BR /&gt;&lt;BR /&gt;service scriptname start/stop/status&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;################################################################&lt;BR /&gt;# Oracle startup/shutdown script&lt;BR /&gt;# chkconfig: 2345 99 10&lt;BR /&gt;# description: starts and stops the Oracle databases&lt;BR /&gt;</description>
    <pubDate>Wed, 25 May 2005 23:43:50 GMT</pubDate>
    <dc:creator>Magnus Andersen</dc:creator>
    <dc:date>2005-05-25T23:43:50Z</dc:date>
    <item>
      <title>new init.d startup script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/new-init-d-startup-script/m-p/3494631#M16491</link>
      <description>Is there any good docs to explain the format of the RedHat Linux startup scripts in /etc/init.d.  I want to create a customized script for my application.  Or is there a template script on the syste, somewhere that I can use.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 28 Feb 2005 16:11:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/new-init-d-startup-script/m-p/3494631#M16491</guid>
      <dc:creator>Jeff Hoevenaar</dc:creator>
      <dc:date>2005-02-28T16:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: new init.d startup script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/new-init-d-startup-script/m-p/3494632#M16492</link>
      <description>man init.d&lt;BR /&gt;&lt;BR /&gt;The manual page should give you enough info to build your stratup script. If there's a template for RH the init.d man page should point you to it. I'm more familiar w/ SuSE and their template it /etc/init.d/skeleton... You should check out the man page.&lt;BR /&gt;&lt;BR /&gt;If you can't find the template on RH, copy en existing script and make your changes. The script will go in /etc/init.d w/ symbolic links in /etc/init.d/rc?.d/K???script or S???script. Where rc?.d is the runlevel to start/stop and K???script is for the shutdown, S??? is run at startup. Example&lt;BR /&gt;&lt;BR /&gt;/etc/init.d/myscript&lt;BR /&gt;&lt;BR /&gt;ln -s /etc/init.d/myscript /etc/init.d/rc3.d/S600myscript&lt;BR /&gt;&lt;BR /&gt;ln -s /etc/init.d/myscript /etc/init.d/rc2.d/K600myscript&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"myscript" will startup in runlevel 3... man page should cover it all.&lt;BR /&gt;&lt;BR /&gt;hope this helps,&lt;BR /&gt;-denver</description>
      <pubDate>Mon, 28 Feb 2005 20:41:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/new-init-d-startup-script/m-p/3494632#M16492</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2005-02-28T20:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: new init.d startup script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/new-init-d-startup-script/m-p/3494633#M16493</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This webpage below will tell you all you need. I think there used to be a RPM, which had a bare bone application startup/shutdown script. But the name is lost to me as thats a long time ago (+3 years ago)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sensi.org/~alec/unix/redhat/sysvinit.html" target="_blank"&gt;http://www.sensi.org/~alec/unix/redhat/sysvinit.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Another usefull manualpage is: "man chkconfig"&lt;BR /&gt;&lt;BR /&gt;But if that all fails, try to find one that almost has what you need. And copy and change that one to your needs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Mar 2005 04:35:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/new-init-d-startup-script/m-p/3494633#M16493</guid>
      <dc:creator>Eric van Dijken</dc:creator>
      <dc:date>2005-03-01T04:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: new init.d startup script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/new-init-d-startup-script/m-p/3494634#M16494</link>
      <description>On RH Linux you can create a custom script and place it in /etc/rc.d/init.d&lt;BR /&gt;&lt;BR /&gt;Place the chkconfig and description lines  lines at the top of the script. See code below.&lt;BR /&gt;&lt;BR /&gt;As root run chkconfig --add scriptname&lt;BR /&gt;&lt;BR /&gt;To verify run chkconfig --list scriptname&lt;BR /&gt;&lt;BR /&gt;That should show you what runlevels the script will start/stop.&lt;BR /&gt;&lt;BR /&gt;You can also utilize the service command once this is done.&lt;BR /&gt;&lt;BR /&gt;service scriptname start/stop/status&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;################################################################&lt;BR /&gt;# Oracle startup/shutdown script&lt;BR /&gt;# chkconfig: 2345 99 10&lt;BR /&gt;# description: starts and stops the Oracle databases&lt;BR /&gt;</description>
      <pubDate>Wed, 25 May 2005 23:43:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/new-init-d-startup-script/m-p/3494634#M16494</guid>
      <dc:creator>Magnus Andersen</dc:creator>
      <dc:date>2005-05-25T23:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: new init.d startup script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/new-init-d-startup-script/m-p/3494635#M16495</link>
      <description>Check this doc too -- &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www-eleves-isia.cma.fr/Doc/initscripts-7.06/sysvinitfiles" target="_blank"&gt;http://www-eleves-isia.cma.fr/Doc/initscripts-7.06/sysvinitfiles&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 May 2005 15:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/new-init-d-startup-script/m-p/3494635#M16495</guid>
      <dc:creator>Ross Minkov</dc:creator>
      <dc:date>2005-05-26T15:30:34Z</dc:date>
    </item>
  </channel>
</rss>

