From owner-freebsd-hackers Mon Jul 22 2: 4:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7033537B400 for ; Mon, 22 Jul 2002 02:04:46 -0700 (PDT) Received: from relay03.esat.net (relay03.esat.net [193.95.141.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6BA343E6A for ; Mon, 22 Jul 2002 02:04:45 -0700 (PDT) (envelope-from phil@ipac.ie) Received: from ipac-gw.cr001.ddm.esat.net (mail.rfc-networks.ie) [193.95.188.30] by relay03.esat.net with esmtp id 17WZ7U-0000CW-00; Mon, 22 Jul 2002 10:04:44 +0100 Received: from tear.domain (unknown [10.0.1.254]) by mail.rfc-networks.ie (Postfix) with ESMTP id 44D5F54981 for ; Mon, 22 Jul 2002 09:08:36 +0100 (IST) Received: by tear.domain (Postfix, from userid 1000) id 1F20E2113F; Mon, 22 Jul 2002 10:04:32 +0000 (GMT) Date: Mon, 22 Jul 2002 10:04:32 +0000 From: Philip Reynolds To: freebsd-hackers@freebsd.org Subject: Re: High Avaliability Processes Message-ID: <20020722100432.A60280@rfc-networks.ie> Reply-To: philip.reynolds@rfc-networks.ie References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from d98jobro@dtek.chalmers.se on Mon, Jul 22, 2002 at 10:10:33AM +0200 X-Operating-System: FreeBSD 4.6-RC X-URL: http://www.rfc-networks.ie Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Johan, from the init(8) manpage: ``Init can also be used to keep arbitrary daemons running, automatically restarting them if they die. In this case, the first field in the ttys(5) file must not reference the path to a configured device node and will be passed to the daemon as the final argument on its command line. This is similar to the facility offered in the AT&T System V UNIX /etc/inittab.'' /etc/ttys is the file you're after. Regards, Phil. Johan Brodin 23 lines of wisdom included: > Hi! > > I'm new to this list and I want to ask a rather simple question. Does > FreeBSD contain a program (preferably a kernel process) that can see if > another process (user defined) terminates and then restart this process? > Or will I have to use an "external" program for this? > > Grateful for a quick answer! -- Philip Reynolds | Technical Director philip.reynolds@rfc-networks.ie | RFC Networks Ltd. http://www.rfc-networks.ie | +353 (0)1 8832063 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message