<?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: Start daemons upon bootup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/start-daemons-upon-bootup/m-p/2416971#M765262</link>
    <description>The first thing you need to do is look at a file called /sbin/init.d/template &lt;BR /&gt;copy this file to the name of your daemon and edit it to include your daemon &lt;BR /&gt;executables and any other things you need to do.  You can look at some of the &lt;BR /&gt;other scripts in their if you need more help.&lt;BR /&gt;&lt;BR /&gt;Once you have finished have a look at /etc/rc.config.d this is where the &lt;BR /&gt;customisation files for all the executable scripts in /sbin/init.d are stored.  &lt;BR /&gt;Add the appropriate file for your daemon, here again you can look at some of &lt;BR /&gt;the examples.&lt;BR /&gt;&lt;BR /&gt;Now you have to decide what run level you want to start your daemon up in &lt;BR /&gt;usually this will be in Run-Level 2 or 3 once you have decided this add a link &lt;BR /&gt;from either /sbin/rc2.d or rc3.d to the startup file you created in &lt;BR /&gt;/sbin/init.d&lt;BR /&gt;&lt;BR /&gt;The naming conventions of these files follow the following sequence &lt;BR /&gt;&lt;BR /&gt;/sbin/rc2.d/S990mydaemon&lt;BR /&gt;&lt;BR /&gt;rc2.d --&amp;gt; Run Level&lt;BR /&gt;S --&amp;gt; Type this can be either S-startup or K-shutdown&lt;BR /&gt;730 --&amp;gt; sequence number&lt;BR /&gt;mydaemon --&amp;gt;Service name&lt;BR /&gt;&lt;BR /&gt;When the system comes up /sbin/rc executes the "S" scripts in the respective &lt;BR /&gt;rc*.d directories in increasing order.  When the system comes down /sbin/rc &lt;BR /&gt;executes the "K" scripts in the appropriate directory in ascending order by &lt;BR /&gt;number.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt; AG</description>
    <pubDate>Tue, 21 Dec 1999 16:15:20 GMT</pubDate>
    <dc:creator>Anthony Goonetilleke_1</dc:creator>
    <dc:date>1999-12-21T16:15:20Z</dc:date>
    <item>
      <title>Start daemons upon bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/start-daemons-upon-bootup/m-p/2416970#M765261</link>
      <description>I am trying to have a couple application daemons start upon bootup. I know cron &lt;BR /&gt;will schedule to have an item run, but only at a specified time or day.&lt;BR /&gt;What does it take to make this happen?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Tue, 21 Dec 1999 09:59:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/start-daemons-upon-bootup/m-p/2416970#M765261</guid>
      <dc:creator>Greg Huber_3</dc:creator>
      <dc:date>1999-12-21T09:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Start daemons upon bootup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/start-daemons-upon-bootup/m-p/2416971#M765262</link>
      <description>The first thing you need to do is look at a file called /sbin/init.d/template &lt;BR /&gt;copy this file to the name of your daemon and edit it to include your daemon &lt;BR /&gt;executables and any other things you need to do.  You can look at some of the &lt;BR /&gt;other scripts in their if you need more help.&lt;BR /&gt;&lt;BR /&gt;Once you have finished have a look at /etc/rc.config.d this is where the &lt;BR /&gt;customisation files for all the executable scripts in /sbin/init.d are stored.  &lt;BR /&gt;Add the appropriate file for your daemon, here again you can look at some of &lt;BR /&gt;the examples.&lt;BR /&gt;&lt;BR /&gt;Now you have to decide what run level you want to start your daemon up in &lt;BR /&gt;usually this will be in Run-Level 2 or 3 once you have decided this add a link &lt;BR /&gt;from either /sbin/rc2.d or rc3.d to the startup file you created in &lt;BR /&gt;/sbin/init.d&lt;BR /&gt;&lt;BR /&gt;The naming conventions of these files follow the following sequence &lt;BR /&gt;&lt;BR /&gt;/sbin/rc2.d/S990mydaemon&lt;BR /&gt;&lt;BR /&gt;rc2.d --&amp;gt; Run Level&lt;BR /&gt;S --&amp;gt; Type this can be either S-startup or K-shutdown&lt;BR /&gt;730 --&amp;gt; sequence number&lt;BR /&gt;mydaemon --&amp;gt;Service name&lt;BR /&gt;&lt;BR /&gt;When the system comes up /sbin/rc executes the "S" scripts in the respective &lt;BR /&gt;rc*.d directories in increasing order.  When the system comes down /sbin/rc &lt;BR /&gt;executes the "K" scripts in the appropriate directory in ascending order by &lt;BR /&gt;number.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt; AG</description>
      <pubDate>Tue, 21 Dec 1999 16:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/start-daemons-upon-bootup/m-p/2416971#M765262</guid>
      <dc:creator>Anthony Goonetilleke_1</dc:creator>
      <dc:date>1999-12-21T16:15:20Z</dc:date>
    </item>
  </channel>
</rss>

