From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 12:03:41 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 7EEA516A422 for ; Mon, 27 Feb 2006 12:03:41 +0000 (GMT) (envelope-from roth@droopy.unibe.ch) Received: from mailhub04.unibe.ch (mailhub04.unibe.ch [130.92.9.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4F9C43D58 for ; Mon, 27 Feb 2006 12:03:40 +0000 (GMT) (envelope-from roth@droopy.unibe.ch) Received: from localhost (scanhub01-eth0.unibe.ch [130.92.254.65]) by mailhub04.unibe.ch (Postfix) with ESMTP id D87A11C327; Mon, 27 Feb 2006 13:03:38 +0100 (CET) Received: from mailhub04.unibe.ch ([130.92.9.71]) by localhost (scanhub01.unibe.ch [130.92.254.65]) (amavisd-new, port 10024) with LMTP id 11476-06-100; Mon, 27 Feb 2006 13:03:37 +0100 (CET) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub04.unibe.ch (Postfix) with ESMTP id 36F9C1C33E; Mon, 27 Feb 2006 13:03:37 +0100 (CET) Received: from droopy.unibe.ch (droopy [130.92.64.20]) by asterix.unibe.ch (8.12.10+Sun/8.12.10) with ESMTP id k1RC3b8Z021287; Mon, 27 Feb 2006 13:03:37 +0100 (MET) Received: (from roth@localhost) by droopy.unibe.ch (8.12.10+Sun/8.12.9/Submit) id k1RC3bcZ004247; Mon, 27 Feb 2006 13:03:37 +0100 (MET) Date: Mon, 27 Feb 2006 13:03:36 +0100 From: Tobias Roth To: "Daniel O'Connor" Message-ID: <20060227120336.GA4233@droopy.unibe.ch> References: <1602933046.20060227174132@kr.ru> <200602272154.03459.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200602272154.03459.doconnor@gsoft.com.au> User-Agent: Mutt/1.4i X-message-flag: Warning! Using Outlook is insecure and promotes virus distribution. Please use a different email client. X-Virus-checked: by University of Berne Cc: freebsd-hackers@freebsd.org Subject: Re: unversal watchdog X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 12:03:41 -0000 On Mon, Feb 27, 2006 at 09:53:17PM +1030, Daniel O'Connor wrote: > On Monday 27 February 2006 21:11, Vitaliy Ovsyannikov wrote: > > I've stuck with the unable to make watchdogs for daemons running via > > startup rc-scripts. In linux we can just put the process in the > > inittab. Does FreeBSD contains ability like this? > > Create a script for /etc/rc.d (or /usr/local/etc/rc.d) - with a suitable entry > in rc.conf it will be started at boot. > > man rc.subr plus a look through /etc/rc.d should get you started :) Can you explain in more detail how one can handle the watchdog part of the equation? I can't find that information in the rc.subr manpage. thanks, Tobias