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