From owner-freebsd-questions@FreeBSD.ORG Tue May 17 15:28:30 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D08B16A4CE for ; Tue, 17 May 2005 15:28:30 +0000 (GMT) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D56143D46 for ; Tue, 17 May 2005 15:28:30 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (cpe-66-27-94-59.san.res.rr.com [66.27.94.59]) (authenticated bits=0)j4HFR8ff027540 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Tue, 17 May 2005 08:27:09 -0700 Message-Id: <6.1.0.6.2.20050517082644.1161ed90@cobalt.antimatter.net> X-Sender: lists@cobalt.antimatter.net X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Date: Tue, 17 May 2005 08:27:43 -0700 To: Gowtham , freebsd-questions@freebsd.org From: Glenn Dawson In-Reply-To: <2ab1ba0c050517012755c8d9c5@mail.gmail.com> References: <2ab1ba0c05051608414c0884c7@mail.gmail.com> <1639417618.20050516184834@ramb.com.ua> <20050516185231.GC702@orion.daedalusnetworks.priv> <63c3899e050516125654d2d497@mail.gmail.com> <2ab1ba0c050517012755c8d9c5@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: Daemon Process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2005 15:28:30 -0000 At 01:27 AM 5/17/2005, Gowtham wrote: >Hi All, >Thank you very much for the feedback. Now, suppose I want to write a daemon >for Unix in C whose job is to monitor other daemons and restart dead >daemons. The daemon may take the list of such daemons to monitor from a >file. I want to know how can this be programmatically achieved. I think this is what you are looking for: http://pobox.com/~djb/daemontools.html It's in ports: /usr/ports/sysutils/daemontools -Glenn >Thank you, >Gowtham >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"