<?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: How can i add a application startup script while booting in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421058#M36583</link>
    <description>Dear Mohammed&lt;BR /&gt;&lt;BR /&gt;Normaly doing by making an entry in  &lt;BR /&gt;/etc/rc.d/rc.local file this easiest and most simple way.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir</description>
    <pubDate>Mon, 18 May 2009 10:51:02 GMT</pubDate>
    <dc:creator>Sajjad Sahir</dc:creator>
    <dc:date>2009-05-18T10:51:02Z</dc:date>
    <item>
      <title>How can i add a application startup script while booting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421050#M36575</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a weblogic application startup script with me, The senario is everytime the server maintenance activity rebooting i need to start the script and wait for the application to get started.&lt;BR /&gt;&lt;BR /&gt;These isint should happen, I need to add the script while booting &lt;BR /&gt;&lt;BR /&gt;Please suggest me how can i do this &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Eg : &lt;BR /&gt;&lt;BR /&gt;Path :&lt;BR /&gt;#cd /weblogic/user-projects/domain/KYEDomain&lt;BR /&gt;&lt;BR /&gt;#nohup ./startWebLogic.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Needs to be added in /etc/inittab&lt;BR /&gt;&lt;BR /&gt;How can i do this ,Your ans is appriciated&lt;BR /&gt;&lt;BR /&gt;Haris</description>
      <pubDate>Fri, 15 May 2009 20:53:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421050#M36575</guid>
      <dc:creator>Mohammed Haris Khan</dc:creator>
      <dc:date>2009-05-15T20:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can i add a application startup script while booting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421051#M36576</link>
      <description>Probably, the easiest option is to add the script to the rc.local file.</description>
      <pubDate>Fri, 15 May 2009 23:41:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421051#M36576</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-05-15T23:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can i add a application startup script while booting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421052#M36577</link>
      <description>Hello Haris,&lt;BR /&gt;yes you can put this scrip in rc.local which will execute after all other system init scripts.&lt;BR /&gt;&lt;BR /&gt;if you are not really sure go through below sample script you can modify acordingly, thanks, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.comptechdoc.org/os/linux/startupman/linux_surclocal.html" target="_blank"&gt;http://www.comptechdoc.org/os/linux/startupman/linux_surclocal.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 16 May 2009 00:11:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421052#M36577</guid>
      <dc:creator>avizen9</dc:creator>
      <dc:date>2009-05-16T00:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can i add a application startup script while booting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421053#M36578</link>
      <description>Hi Khan,&lt;BR /&gt;You got the right answer from all above. "/etc/rc.local" is the final place that kernel look for any startup scripts during the boot process.&lt;BR /&gt;you can put your commands on this file &lt;BR /&gt;&lt;BR /&gt;writing all the commands you want to execute at the boot time as a shell script and put that shell script path on rc.local file is what i do and recommend.&lt;BR /&gt;&lt;BR /&gt;Good Luck..!</description>
      <pubDate>Sat, 16 May 2009 15:31:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421053#M36578</guid>
      <dc:creator>Nuwan Alwis</dc:creator>
      <dc:date>2009-05-16T15:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can i add a application startup script while booting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421054#M36579</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;But i have only these files with me. do i need to create the file as "/etc/rc.d/rc.local" and "/etc/rc.d/rc3.d/S99.local"&lt;BR /&gt;&lt;BR /&gt;lrwxrwxrwx  1 root root    6 Feb 11  2008 rc.d -&amp;gt; init.d&lt;BR /&gt;-rw-r--r--  1 root root  611 May 21  2002 rc.d.README&lt;BR /&gt;-rw-r--r--  1 root root 8548 Aug 18  2003 rc.status&lt;BR /&gt;&lt;BR /&gt;As im new to SUSE linux please help me out.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Harish</description>
      <pubDate>Sat, 16 May 2009 17:03:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421054#M36579</guid>
      <dc:creator>Mohammed Haris Khan</dc:creator>
      <dc:date>2009-05-16T17:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can i add a application startup script while booting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421055#M36580</link>
      <description>Hi Khan,&lt;BR /&gt;rc.local file is already there and all you need to add your commands to that file or add the paths to shell scripts on that files.&lt;BR /&gt;&lt;BR /&gt;by the way please show some appreciation for all that gave you answers with points.&lt;BR /&gt;&lt;BR /&gt;Good Luck..!</description>
      <pubDate>Mon, 18 May 2009 05:09:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421055#M36580</guid>
      <dc:creator>Nuwan Alwis</dc:creator>
      <dc:date>2009-05-18T05:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can i add a application startup script while booting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421056#M36581</link>
      <description>Hi,&lt;BR /&gt;The easiest way to add startup things  open /etc/rc.d/rc.local and add what you want to this is the startup file for user.&lt;BR /&gt;&lt;BR /&gt;[root@rspc521 rc.d]# ll rc.local&lt;BR /&gt;-rwxr-xr-x    1 root     root          220 Jun 24  2003 rc.local&lt;BR /&gt;&lt;BR /&gt;Suraj&lt;BR /&gt;</description>
      <pubDate>Mon, 18 May 2009 08:58:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421056#M36581</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-05-18T08:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can i add a application startup script while booting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421057#M36582</link>
      <description>As the others said, the easiest way is to add it to rc.local.&lt;BR /&gt;&lt;BR /&gt;But! if you need it to execute on a specific position in the startup sequence then you need probably need to study the method used to start and shutdown services for that particular distribution.&lt;BR /&gt;&lt;BR /&gt;If you just need it to start without any other dependencies or anything then rc.local version is just fine and probably the most simple one.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Fredrik Eriksson</description>
      <pubDate>Mon, 18 May 2009 09:34:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421057#M36582</guid>
      <dc:creator>Fredrik.eriksson</dc:creator>
      <dc:date>2009-05-18T09:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can i add a application startup script while booting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421058#M36583</link>
      <description>Dear Mohammed&lt;BR /&gt;&lt;BR /&gt;Normaly doing by making an entry in  &lt;BR /&gt;/etc/rc.d/rc.local file this easiest and most simple way.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir</description>
      <pubDate>Mon, 18 May 2009 10:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-add-a-application-startup-script-while-booting/m-p/4421058#M36583</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2009-05-18T10:51:02Z</dc:date>
    </item>
  </channel>
</rss>

