<?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 shutdown in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown/m-p/3291532#M182292</link>
    <description>i also want to stop the software when i shutdown the server.please help&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i thank u all  for ur quick response</description>
    <pubDate>Mon, 31 May 2004 23:25:51 GMT</pubDate>
    <dc:creator>Mangesh Khatav_1</dc:creator>
    <dc:date>2004-05-31T23:25:51Z</dc:date>
    <item>
      <title>shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown/m-p/3291532#M182292</link>
      <description>i also want to stop the software when i shutdown the server.please help&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i thank u all  for ur quick response</description>
      <pubDate>Mon, 31 May 2004 23:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown/m-p/3291532#M182292</guid>
      <dc:creator>Mangesh Khatav_1</dc:creator>
      <dc:date>2004-05-31T23:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown/m-p/3291533#M182293</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Which software you want to stop??&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 31 May 2004 23:28:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown/m-p/3291533#M182293</guid>
      <dc:creator>Amit Manna_6</dc:creator>
      <dc:date>2004-05-31T23:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown/m-p/3291534#M182294</link>
      <description>Using the script template in /sbin/init.d/template there is a case statement that applies to both start/stop from within the script. Using symbolic links as descibed in your other post will take care of both start and stop.</description>
      <pubDate>Mon, 31 May 2004 23:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown/m-p/3291534#M182294</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-05-31T23:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown/m-p/3291535#M182295</link>
      <description>&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=605159" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=605159&lt;/A&gt;</description>
      <pubDate>Mon, 31 May 2004 23:49:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown/m-p/3291535#M182295</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-05-31T23:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown/m-p/3291536#M182296</link>
      <description>Write a wrapper (script) to shutdown the server. When you want to shutdown the server, execute this wrapper. You can have your script as follows (depending upon which program should stop first):&lt;BR /&gt;&lt;BR /&gt;----------------------&lt;BR /&gt;&lt;BR /&gt;server stop&lt;BR /&gt;software stop&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;software stop&lt;BR /&gt;server stop&lt;BR /&gt;&lt;BR /&gt;-----------------------&lt;BR /&gt;&lt;BR /&gt;Else, if you can modify the "server stop" program, then a modify the "server stop" program and add the "software stop" line to it.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Anshu</description>
      <pubDate>Tue, 01 Jun 2004 00:19:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown/m-p/3291536#M182296</guid>
      <dc:creator>Anupam Anshu_1</dc:creator>
      <dc:date>2004-06-01T00:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shutdown/m-p/3291537#M182297</link>
      <description>Copy any script under /sbin/init.d/ to a script name /sbin/init.d/yourscript.&lt;BR /&gt;&lt;BR /&gt;Then edit the file, and change the stop &amp;amp; start commands part of it with the commands that you use for start/stop.&lt;BR /&gt;&lt;BR /&gt;Secondly, create a file under /etc/rc.config.d/yourscript   and then edit the file and enter a paramter that when set to "1" will run the /sbin/init.d/yourscript at shutdown/startup, else if "0" will ignore it. Check for other /etc/rc.config.d files to see as an example.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then create a link under /etc/rc2.d/K900yourscript (required for application to shut down automatically when system shuts down).&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;under /etc/rc3.d/S900yourscript (required for application to startup automatically when system starts up).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 01 Jun 2004 00:36:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shutdown/m-p/3291537#M182297</guid>
      <dc:creator>Anil C. Sedha</dc:creator>
      <dc:date>2004-06-01T00:36:04Z</dc:date>
    </item>
  </channel>
</rss>

