<?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: server startup script in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/server-startup-script/m-p/4586117#M39792</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;You should add you script in rc.local&lt;BR /&gt;&lt;BR /&gt;Be sure that your script is working before adding it to rc.local (check chmod +x, check to specify in the first line the shell used in the script: #!/bin/sh or whatever shell you use there ...).&lt;BR /&gt;&lt;BR /&gt;Horia.</description>
    <pubDate>Thu, 18 Feb 2010 06:43:13 GMT</pubDate>
    <dc:creator>Horia Chirculescu</dc:creator>
    <dc:date>2010-02-18T06:43:13Z</dc:date>
    <item>
      <title>server startup script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/server-startup-script/m-p/4586116#M39791</link>
      <description>I have newly installed Redhat v4 , it works fine , I want the server run some scripts after re-start , I tried to add the script to /etc/rc.local and also tried to add it to /etc/inittab , but it is not work , the script do not run after re-start the server , can advise what is wrong ? thx in advance.</description>
      <pubDate>Thu, 18 Feb 2010 06:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/server-startup-script/m-p/4586116#M39791</guid>
      <dc:creator>snsd</dc:creator>
      <dc:date>2010-02-18T06:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: server startup script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/server-startup-script/m-p/4586117#M39792</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;You should add you script in rc.local&lt;BR /&gt;&lt;BR /&gt;Be sure that your script is working before adding it to rc.local (check chmod +x, check to specify in the first line the shell used in the script: #!/bin/sh or whatever shell you use there ...).&lt;BR /&gt;&lt;BR /&gt;Horia.</description>
      <pubDate>Thu, 18 Feb 2010 06:43:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/server-startup-script/m-p/4586117#M39792</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-02-18T06:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: server startup script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/server-startup-script/m-p/4586118#M39793</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;have a look at chkconfig(8) man page, and especially at "RUNLEVEL FILES" section.&lt;BR /&gt;Also have a look at service(8).&lt;BR /&gt;&lt;BR /&gt;Then put your script into /etc/rc.d/init.d and create runlevel-links with &lt;BR /&gt;&lt;BR /&gt;# chkconfig -a scriptname&lt;BR /&gt;&lt;BR /&gt;Now your script is starting at boottime....&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Feb 2010 08:17:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/server-startup-script/m-p/4586118#M39793</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2010-02-18T08:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: server startup script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/server-startup-script/m-p/4586119#M39794</link>
      <description>Hi&lt;BR /&gt;  you can try put the script in /etc/init.d.&lt;BR /&gt;  then add the following 2 lines after the shell executable #! line.&lt;BR /&gt;  # chkconfig: 345 90 10&lt;BR /&gt;  # description: &lt;DESCRIPTION here=""&gt;&lt;BR /&gt;&lt;BR /&gt;**  The chkconfig says the script will run in runlevel 3, 4 and 5 followed by the start and stop priority level no.&lt;BR /&gt;&lt;BR /&gt;//next run &lt;BR /&gt;  chkconfig --list |grep &amp;lt;script name&amp;gt;&lt;BR /&gt;to check the runlevels of the script.&lt;BR /&gt;&lt;BR /&gt;//then run&lt;BR /&gt;  chkconfig --level 345 &amp;lt;script name&amp;gt; on&lt;BR /&gt;so that the script will be ran at runlevel 3, 4 and 5&lt;BR /&gt;&lt;BR /&gt;&lt;/DESCRIPTION&gt;</description>
      <pubDate>Tue, 23 Feb 2010 19:35:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/server-startup-script/m-p/4586119#M39794</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2010-02-23T19:35:00Z</dc:date>
    </item>
  </channel>
</rss>

