HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding a daemon to a startup script
Operating System - HP-UX
1834137
Members
2379
Online
110064
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 05:44 AM
11-19-2001 05:44 AM
Adding a daemon to a startup script
I have a really simple question, but it is something that has been giving me problems. I need to start a daemon when my 11.0 system starts up. I am not really sure how to do this. Any advice would be helpful.
Thanks in advance,
Thanks in advance,
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 05:48 AM
11-19-2001 05:48 AM
Re: Adding a daemon to a startup script
You'll find general stuff here:
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B3782-90073/B3782-90073_top.html&con=/hpux/onlinedocs/B3782-90073/00/00/67-con.html&toc=/hpux/onlinedocs/B3782-90073/00/00/67-toc.html&searchterms=hpux%7cstartup%7cscripts&queryid=20011119-055028
What you have to ask yourself, is when do you want this process to start and what dependencies does it have on other software (basically what sequence should it start and when it should be killed for shutwodn purposes).
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 05:56 AM
11-19-2001 05:56 AM
Re: Adding a daemon to a startup script
Hi John,
Is this a 3rd-party daemon, or one of your own? All standard HP daemons, e.g. inetd, xntpd, start via their respective startup scripts (/sbin/init.d/xntpd for example) by simply running the binary - it should fork, disinherit its parent (close all filehandles, etc.), and continue running happily on its own.
Rgds, Robin.
Is this a 3rd-party daemon, or one of your own? All standard HP daemons, e.g. inetd, xntpd, start via their respective startup scripts (/sbin/init.d/xntpd for example) by simply running the binary - it should fork, disinherit its parent (close all filehandles, etc.), and continue running happily on its own.
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 05:57 AM
11-19-2001 05:57 AM
Re: Adding a daemon to a startup script
Hi JOhn:
The most comprehensive paper on this subject can be found here. It is an "easy read" and covers all aspects of startup/shutdown scripts.
While dated for the 10.x release this white paper applies to 10.x *and* 11.x releases:
http://docs.hp.com/hpux/onlinedocs/os/startup.pdf
Regards!
...JRF...
The most comprehensive paper on this subject can be found here. It is an "easy read" and covers all aspects of startup/shutdown scripts.
While dated for the 10.x release this white paper applies to 10.x *and* 11.x releases:
http://docs.hp.com/hpux/onlinedocs/os/startup.pdf
Regards!
...JRF...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP