Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.sys.hp.hpux FAQ
Section - 8.11 How can I get a daemon to successfully start from an rc script?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Cities ]


Top Document: comp.sys.hp.hpux FAQ
Previous Document: 8.10 Why can't I start Aserver?
Next Document: 8.12 How do I convert the uname string to a model string?
See reader questions & answers on this topic! - Help others by sharing your knowledge
Updated: 03/08/01

When /sbin/rc exits, all child processes, including daemons that have not
yet daemonized themselves (called setsid()), will be killed.

To ensure that a process is not killed, invoke it via nohup(1).  This will
work for all programs, not just daemons.

Another trick is to start the command via at(1), as follows:

  /usr/bin/at now <<EoF
  mydaemon
  EoF

User Contributions:

Comment about this article, ask questions, or add new information about this topic:




Top Document: comp.sys.hp.hpux FAQ
Previous Document: 8.10 Why can't I start Aserver?
Next Document: 8.12 How do I convert the uname string to a model string?

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
hpux.faq@gmail.com





Last Update March 27 2014 @ 02:11 PM