home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / misc / 4057 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.5 KB

  1. Xref: sparky comp.unix.misc:4057 comp.unix.questions:13039 comp.unix.programmer:5191
  2. Path: sparky!uunet!gumby!yale!yale.edu!think.com!barmar
  3. From: barmar@think.com (Barry Margolin)
  4. Newsgroups: comp.unix.misc,comp.unix.questions,comp.unix.programmer
  5. Subject: Re: Daemons must never die
  6. Date: 6 Nov 1992 17:03:54 GMT
  7. Organization: Thinking Machines Corporation, Cambridge MA, USA
  8. Lines: 19
  9. Message-ID: <1de8hqINN8cv@early-bird.think.com>
  10. References: <id.JVJU.413@ferranti.com> <1992Nov1.114010.464@global.hacktic.nl> <id.BAPU.XE3@ferranti.com>
  11. NNTP-Posting-Host: telecaster.think.com
  12.  
  13. In article <id.BAPU.XE3@ferranti.com> peter@ferranti.com (peter da silva) writes:
  14. >In article <1992Nov1.114010.464@global.hacktic.nl> peter@global.hacktic.nl (Peter Busser) writes:
  15. >> My question is: do (most) daemons just fork+parent exit/child goes on, or
  16. >> what?
  17. >Most daemons assume that their parents have set things up for them. If there
  18. >is a need for a self-backgrounding program write a front end or provide an
  19. >appropriate flag that means "background yourself".
  20.  
  21. Most of the standard SunOS 4.x daemons (which are mostly the BSD versions)
  22. are self-backgrounding.  These include inetd, lpd, portmap, ypserv, ypbind,
  23. routed, named, biod, syslogd, sendmail, automount, and mountd.
  24.  
  25. I've seen some daemons that have a flag that means "don't background
  26. yourself and send output to stderr (instead of logging)".
  27. -- 
  28. Barry Margolin
  29. System Manager, Thinking Machines Corp.
  30.  
  31. barmar@think.com          {uunet,harvard}!think!barmar
  32.