<?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: automatic service start-up in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-service-start-up/m-p/3566716#M227499</link>
    <description>Hello Maciek,&lt;BR /&gt;&lt;BR /&gt;Please check this thread:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=903953" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=903953&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ganesha Sridhara</description>
    <pubDate>Mon, 20 Jun 2005 23:44:47 GMT</pubDate>
    <dc:creator>Ganesha Sridhara</dc:creator>
    <dc:date>2005-06-20T23:44:47Z</dc:date>
    <item>
      <title>automatic service start-up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-service-start-up/m-p/3566712#M227495</link>
      <description>dear All,&lt;BR /&gt;i would like to ask for your help in quite an easy matter.&lt;BR /&gt;my question is: how to configure a certain service in such a way that it is started automatically when the system goes up?&lt;BR /&gt;i have a custom samba server running and i don't want to start it manually each time the system is rebooted. is there anything here in HPUX resembling the WIN's "autostart" group, so that i would be able to add service to it?&lt;BR /&gt;&lt;BR /&gt;thank you in advance,&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;maciek</description>
      <pubDate>Mon, 20 Jun 2005 03:18:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-service-start-up/m-p/3566712#M227495</guid>
      <dc:creator>Maciej Szewczykowski</dc:creator>
      <dc:date>2005-06-20T03:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: automatic service start-up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-service-start-up/m-p/3566713#M227496</link>
      <description>UNIX service startup is controlled with rc scripts.  If you don't know about them, read first here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.unixhub.com/docs/hpux/hpux_boot.html" target="_blank"&gt;http://www.unixhub.com/docs/hpux/hpux_boot.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This describes how the boot process uses the rc scripts.&lt;BR /&gt;&lt;BR /&gt;Then you need to make and link one to suit whatever you want to start.&lt;BR /&gt;&lt;BR /&gt;HP provide a template called /sbin/init.d/template.  Copy this to eg /sbin/init.d/myservice and edit to that it will start and stop your script as expected.  Then link it's start and kill scripts in /sbin/rcX.d directories as required.</description>
      <pubDate>Mon, 20 Jun 2005 03:28:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-service-start-up/m-p/3566713#M227496</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-06-20T03:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: automatic service start-up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-service-start-up/m-p/3566714#M227497</link>
      <description>In /etc/rc.config.d/samba, &lt;BR /&gt;change the RUN_SAMBA value from 0 to 1 to disable the autostart.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jun 2005 03:30:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-service-start-up/m-p/3566714#M227497</guid>
      <dc:creator>Warren_9</dc:creator>
      <dc:date>2005-06-20T03:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: automatic service start-up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-service-start-up/m-p/3566715#M227498</link>
      <description>Most properly ported software already comes with a fitting init script.&lt;BR /&gt;So with these usually all that's left to be done is enable a switch in a config file in /etc/rc.config.d/ (i.e. setting a variable to either 1 or 0), and creating softlinks that point from the init runlevel subdirs where the application should either be started or stopped to the init script.&lt;BR /&gt;Some ports like e.g. the HP-UX OpenSSH port Secure Shell even do these minor tasks for you already as a postinstallation step.&lt;BR /&gt; &lt;BR /&gt;However sometimes you have to write an init run shell script for an application oneself.&lt;BR /&gt;But this usually only requires minor mastery of shell scripting.&lt;BR /&gt;To ease things HP-UX provides a file&lt;BR /&gt;/sbin/init.d/template&lt;BR /&gt;that you simply copy and use, as the name suggests, as a template file that you only modify or extend very little.&lt;BR /&gt; &lt;BR /&gt;To learn more about the HP-UX SysV init process I'd advise you to carefully read the manpages of init and rc.&lt;BR /&gt;Though generally most SysV Unices behave similarly there are subtle differences in the init process e.g between Solaris and HP-UX.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jun 2005 03:51:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-service-start-up/m-p/3566715#M227498</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2005-06-20T03:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: automatic service start-up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-service-start-up/m-p/3566716#M227499</link>
      <description>Hello Maciek,&lt;BR /&gt;&lt;BR /&gt;Please check this thread:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=903953" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=903953&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ganesha Sridhara</description>
      <pubDate>Mon, 20 Jun 2005 23:44:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-service-start-up/m-p/3566716#M227499</guid>
      <dc:creator>Ganesha Sridhara</dc:creator>
      <dc:date>2005-06-20T23:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: automatic service start-up</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-service-start-up/m-p/3566717#M227500</link>
      <description>Maciek,&lt;BR /&gt;&lt;BR /&gt;As an addition to other correct replies&lt;BR /&gt;you can keep such a kind of doc.&lt;BR /&gt;Good luck,</description>
      <pubDate>Tue, 21 Jun 2005 07:47:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-service-start-up/m-p/3566717#M227500</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2005-06-21T07:47:38Z</dc:date>
    </item>
  </channel>
</rss>

