From owner-freebsd-questions@FreeBSD.ORG Sun Feb 8 06:43:58 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 0789F16A4CE for ; Sun, 8 Feb 2004 06:43:58 -0800 (PST) Received: from ajax.achean.com (ajax.achean.com [212.87.82.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 892FB43D1D for ; Sun, 8 Feb 2004 06:43:57 -0800 (PST) (envelope-from jon.mercer@achean.com) Received: from menelaus.office.achean.com (dsl-217-155-191-93.zen.co.uk [217.155.191.93]) by ajax.achean.com (8.12.9p2/8.12.9) with ESMTP id i18EhQZK074868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 8 Feb 2004 14:43:27 GMT (envelope-from jon.mercer@achean.com) Received: from [127.0.0.1] (localhost [127.0.0.1])i18EhJsj004759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 8 Feb 2004 14:43:20 GMT (envelope-from jon.mercer@achean.com) From: Jon Mercer To: "Loren M. Lang" In-Reply-To: <20040208141313.GB19831@alzatex.com> References: <20040208141313.GB19831@alzatex.com> Content-Type: text/plain Organization: Achean Limited Message-Id: <1076251399.4755.1.camel@menelaus.office.achean.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 08 Feb 2004 14:43:19 +0000 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 'clamd / ClamAV version 0.65', clamav-milter version '0.60p' X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.61-achean_mailfilter_v1.00 X-Spam-Checker-Version: SpamAssassin 2.61-achean_mailfilter_v1.00 (1.212.2.1-2003-12-09-exp) on ajax.achean.com cc: FreeBSD Mailing list 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:43:58 -0000 Have you looked at DJB's Daemontools? They are in ports. Regards, Jon Mercer On Sun, 2004-02-08 at 14:13, 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. -- +----------------------------------------------------------------+ | ___ ___ | | / | | / | | / /| | / / | | / / | | _____ / / ____ ____ ___ | | / /__| | / ___ \ / /__ / __ \ / _ | | /__ | | / ____ | / / /_/ / ___ \ / /_/ / / / | | / ___ \ | | / / | | / / __ / / \ \ | ___/__ / / / / / / \ \ | | / / | | | |__/ / / / / / | \__/ / | |_| | / / / / | | /__\ /___\ \_____/ /__| /__| \_____/ \__/|_| /__| /__| | | | | www.achean.com | | | +----------------------------------------------------------------+