From owner-freebsd-hackers Mon Jul 22 16:52:21 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 05FAB37B400 for ; Mon, 22 Jul 2002 16:52:20 -0700 (PDT) Received: from dm.transactionware.com (dm.transactionware.com [203.14.245.8]) by mx1.FreeBSD.org (Postfix) with SMTP id 698D743E67 for ; Mon, 22 Jul 2002 16:52:18 -0700 (PDT) (envelope-from janm@transactionware.com) Received: (qmail 36454 invoked from network); 23 Jul 2002 00:03:15 -0000 Received: from new.transactionware.com (192.168.1.55) by dm.transactionware.com with SMTP; 23 Jul 2002 00:03:15 -0000 Received: (qmail 43647 invoked by uid 1006); 22 Jul 2002 23:46:41 -0000 Received: from janm@transactionware.com by new.transactionware.com by uid 1003 with qmail-scanner-1.10 (uvscan: v4.1.40/v4210. . Clear:0. Processed in 0.345491 secs); 22 Jul 2002 23:46:41 -0000 Received: from mosm1.transactionware.com (HELO mosm1) (192.168.1.130) by new.transactionware.com with SMTP; 22 Jul 2002 23:46:40 -0000 From: "Jan Mikkelsen" To: "'Johan Brodin'" , Subject: RE: High Avaliability Processes Date: Tue, 23 Jul 2002 09:42:45 +1000 Organization: Transactionware Message-ID: <000a01c231d9$7bc668e0$fc5807ca@mosm1> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal In-reply-to: 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 Johan Brodin wrote: > 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? As well as init/ttys, look at supervise from Dan Bernstein's daemontools package: http://cr.yp.to/daemontools.html There are other benefits like reliably sending signals to processes by name, log file management and a bunch of other useful, well designed stuff. Jan Mikkelsen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message