From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e1f062a1ac84e1b6 X-Google-Attributes: gidfee84,public From: peter@nmti.com (Peter da Silva) Subject: Re: HELP: My process won't start from /sbin/init.d Date: 1995/07/11 Message-ID: #1/1 X-Deja-AN: 106000912 sender: peter@nmti.com (peter da silva) references: <3tgv3v$q71@fstgds15.tu-graz.ac.at> organization: Network/development platform support, NMTI newsgroups: comp.unix.osf.osf1 In article , Eric Werme 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?"