From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 11:24:29 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 B83DC16A420 for ; Mon, 27 Feb 2006 11:24:29 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0448343D58 for ; Mon, 27 Feb 2006 11:24:27 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp143-122.lns2.adl2.internode.on.net [59.167.143.122]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k1RBOEYI085159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 27 Feb 2006 21:54:19 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org, Vitaliy Ovsyannikov Date: Mon, 27 Feb 2006 21:53:17 +1030 User-Agent: KMail/1.9.1 References: <1602933046.20060227174132@kr.ru> In-Reply-To: <1602933046.20060227174132@kr.ru> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1475258.Vg3Qzcomrq"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200602272154.03459.doconnor@gsoft.com.au> X-Spam-Score: -2.186 () AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.54 on 203.31.81.10 Cc: 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 11:24:29 -0000 --nextPart1475258.Vg3Qzcomrq Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 en= try=20 in rc.conf it will be started at boot. man rc.subr plus a look through /etc/rc.d should get you started :) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1475258.Vg3Qzcomrq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBEAuFT5ZPcIHs/zowRAo9FAKCZ0damd2g+9FVsGoL7XlmsL6kNWwCfVprR md1p6lgFFixtiKy3hux1t70= =cExY -----END PGP SIGNATURE----- --nextPart1475258.Vg3Qzcomrq--