Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: peter@nmti.com (Peter da Silva)
Subject: Re: HELP: My process won't start from /sbin/init.d
Date: 1995/07/11	[thread overview]
Message-ID: <id.QTIL1.NTI@nmti.com> (raw)
In-Reply-To: werme.805130754@alingo.zk3.dec.com

In article <werme.805130754@alingo.zk3.dec.com>,
Eric Werme <werme@zk3.dec.com> wrote:
> Our daemons usually call the BSD daemon routine (its in /usr/lib/libutil.a)
> This disconnects from controlling session to leave a process running on its
> own.

Which is really annoying when you want to do something like wait for the
daemon to terminate to get around a bug while waiting (in the sitting
around sense, not the system call) for a vendor to fix it.

What is really needed is a *program* to daemonize another program. In BSD
the nohup command might do the job. In System V I wrote a program called
detach that does it.
-- 
Peter da Silva    (NIC: PJD2)                             `-_-'
Network Management Technology Incorporated                 'U`
1601 Industrial Blvd.     Sugar Land, TX  77478  USA
+1 713 274 5180                                "Har du kramat din varg idag?"



  parent reply	other threads:[~1995-07-11  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-07-06  4:00 HELP: My process won't start from /sbin/init.d Thomas Leitner
1995-07-06  4:00 ` Dave Carter
1995-07-07  4:00   ` Thomas Leitner
1995-07-07  4:00 ` Eric Werme
1995-07-07  4:00   ` Thomas Leitner
1995-07-11  4:00   ` Peter da Silva [this message]
1995-07-07  4:00 ` Peter Marksteiner
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox