From owner-freebsd-questions@FreeBSD.ORG Tue Nov 25 11:51:23 2003 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 E394C16A4CE for ; Tue, 25 Nov 2003 11:51:23 -0800 (PST) Received: from stratus.mercurycloud.net (stratus.mercurycloud.net [64.246.167.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8973543F3F for ; Tue, 25 Nov 2003 11:51:22 -0800 (PST) (envelope-from lists-wp@mercurycloud.net) Received: from [192.168.0.103] (dsl254-030-205.sea1.dsl.speakeasy.net [216.254.30.205]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by stratus.mercurycloud.net (Postfix) with ESMTP id 6A23878 for ; Tue, 25 Nov 2003 11:50:54 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v606) In-Reply-To: References: <3B75ECFD-1DE6-11D8-A141-000A95DBBE34@mercurycloud.net> <58BF3BE2-1ED0-11D8-B5C4-000A95DBBE34@mercurycloud.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Will Prater Date: Tue, 25 Nov 2003 11:51:20 -0800 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.606) Subject: Re: daemon monitoring 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, 25 Nov 2003 19:51:24 -0000 On Nov 24, 2003, at 2:59 PM, Jesse Guardiani wrote: >>> I'm particularly fond of daemontools/supervise, actually. You've got >>> to >>> jump through some hoops to get it working (process must run in >>> foreground, >>> process must start first time, etc..), but it's very reliable and the >>> qmail style qmailctl script can be adapted to any configuration with >>> minimal >>> work to make an excellent control script. >> >> Yes, it looks promising. I have it working for a few of my processes. >> I >> was looking to something similar to Mac OS X Servers watchdog. This is >> much better. >> >> I get weird errors when I am trying to get saslauthd since I have to >> use fghack to get it going. >> >> Can you send me the qmailctl script or some examples that you have >> with >> some daemons on your system? Do you have weirdness when working with daemons that run themselves in the backgroud? One has to use fghack to place them in the foreground and then there is no control to stop the service through daemontools. For example saslatuhd.. Also does one only need to create a log directory if the application itself does not log? Or is this to log other information, I cant seem to find an answer to this on DJB site. Thanks --will