From owner-freebsd-questions@FreeBSD.ORG Sun Feb 8 06:55:48 2004 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 2665116A4CE for ; Sun, 8 Feb 2004 06:55:48 -0800 (PST) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id F397343D1F for ; Sun, 8 Feb 2004 06:55:47 -0800 (PST) (envelope-from ggop@myrealbox.com) Received: from madras.dyndns.org ggop@smtp-send.myrealbox.com [220.240.241.137]$ on Novell NetWare via secured & encrypted transport (TLS); Sun, 08 Feb 2004 07:55:39 -0700 Date: Mon, 9 Feb 2004 01:52:37 +1100 From: Gautam Gopalakrishnan To: "Loren M. Lang" Message-Id: <20040209015237.1a9b288c.ggop@myrealbox.com> In-Reply-To: <20040208141313.GB19831@alzatex.com> References: <20040208141313.GB19831@alzatex.com> X-Mailer: Sylpheed version 0.9.9 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Daemon Monitor 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: Sun, 08 Feb 2004 14:55:48 -0000 On Sun, 8 Feb 2004 06:13:13 -0800 "Loren M. Lang" wrote: > Is there a good program that can monitor a daemon and take an > appropriate action if the daemon dies? I am having trouble with > ClamAV dying in certain circumstances, but somewhat rare. I would > like for when it dies, to either restart it or copy a mail config file > for exim over the default and signal Exim which would then disable > exim from using clamav so the mail will still come through. Currently > we have it disabled until the problem is fixed, but some users are > still not heeding the warnings and are infecting themselves with the > MyDoom virus which ClamAV was previously blocking. /usr/ports/sysutils/daemontools http://cr.yp.to/daemontools.html hope that helps. Gautam