<?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: adding a script to run @ runtime in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-script-to-run-runtime/m-p/3043978#M134935</link>
    <description>It is quite unusual to have a linked executable as a start / stop "script".  The usual method of doing this is to have a shell script in /sbin/init.d that will call your program with whatever options you need.&lt;BR /&gt;&lt;BR /&gt;There is good documentation on this online and there is a template start/stop script in /sbin/init.d called "template".&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 07 Aug 2003 13:08:36 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2003-08-07T13:08:36Z</dc:date>
    <item>
      <title>adding a script to run @ runtime</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-script-to-run-runtime/m-p/3043975#M134932</link>
      <description>I want to add a script to run at runtime, AND run it with certain command line options.&lt;BR /&gt;&lt;BR /&gt;I have placed the script in /sbin/init.d;&lt;BR /&gt;a 'start' link to the script in /sbin/rc2.d'  and a 'kill' link to the script in /sbin/rc1.d&lt;BR /&gt;&lt;BR /&gt;What is the best way of getting the script to run with certain command line options, e.g. nohup, &amp;amp; ,etc?&lt;BR /&gt;&lt;BR /&gt;I cannot edit the script in /sbin/init.d as it is a compiled dynamically linked executable, so I cannot edit it to refer to a config script in /etc/rc.config.d&lt;BR /&gt;&lt;BR /&gt;Cheers,</description>
      <pubDate>Thu, 07 Aug 2003 13:04:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-script-to-run-runtime/m-p/3043975#M134932</guid>
      <dc:creator>Paul Senior</dc:creator>
      <dc:date>2003-08-07T13:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: adding a script to run @ runtime</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-script-to-run-runtime/m-p/3043976#M134933</link>
      <description>Put a wrapper shell script in /sbin/init.d that reads config params from /etc/rc.config.d and then calls your binary. Make sure you use HP's template script as a starting point (in /sbin/init.d).&lt;BR /&gt;&lt;BR /&gt;HTH.</description>
      <pubDate>Thu, 07 Aug 2003 13:07:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-script-to-run-runtime/m-p/3043976#M134933</guid>
      <dc:creator>Brian Bergstrand</dc:creator>
      <dc:date>2003-08-07T13:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: adding a script to run @ runtime</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-script-to-run-runtime/m-p/3043977#M134934</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would put your executable in another directory somewhere, and use a script in /sbin/init.d that calls your executable with whatever options you need.  That is how all the other programs get started from /sbin/init.d.  &lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2003 13:08:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-script-to-run-runtime/m-p/3043977#M134934</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-08-07T13:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: adding a script to run @ runtime</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-script-to-run-runtime/m-p/3043978#M134935</link>
      <description>It is quite unusual to have a linked executable as a start / stop "script".  The usual method of doing this is to have a shell script in /sbin/init.d that will call your program with whatever options you need.&lt;BR /&gt;&lt;BR /&gt;There is good documentation on this online and there is a template start/stop script in /sbin/init.d called "template".&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2003 13:08:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-script-to-run-runtime/m-p/3043978#M134935</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-08-07T13:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: adding a script to run @ runtime</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-script-to-run-runtime/m-p/3043979#M134936</link>
      <description>Thanks, I didn't know about the 'template'&lt;BR /&gt;script in /sbin/init.d&lt;BR /&gt;Your replies cover what I wanted.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2003 13:20:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-a-script-to-run-runtime/m-p/3043979#M134936</guid>
      <dc:creator>Paul Senior</dc:creator>
      <dc:date>2003-08-07T13:20:41Z</dc:date>
    </item>
  </channel>
</rss>

