From owner-freebsd-questions@FreeBSD.ORG Wed Oct 27 17:03:27 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 BB58C16A4CE for ; Wed, 27 Oct 2004 17:03:27 +0000 (GMT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E04243D1D for ; Wed, 27 Oct 2004 17:03:27 +0000 (GMT) (envelope-from nkinkade@fastmail.fm) Received: from frontend3.messagingengine.com (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 432C7C34D63; Wed, 27 Oct 2004 13:03:26 -0400 (EDT) X-Sasl-enc: aIyaASGoe5qZAHg/vM2Vbw 1098896580 Received: from gentoo-npk.bmp.ub (unknown [206.27.244.136]) by www.fastmail.fm (Postfix) with ESMTP id 5D0B2247F3; Wed, 27 Oct 2004 13:03:00 -0400 (EDT) Received: from nkinkade by gentoo-npk.bmp.ub with local (Exim 4.21) id 1CMr8u-0000Pc-Ho; Wed, 27 Oct 2004 10:59:24 -0600 Date: Wed, 27 Oct 2004 10:59:24 -0600 From: Nathan Kinkade To: ADNET Ghislain Message-ID: <20041027165924.GP3633@gentoo-npk.bmp.ub> Mail-Followup-To: ADNET Ghislain , freebsd-questions@freebsd.org References: <417E72F4.6090702@aqueos.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2AEAoBO8/DXd4QY7" Content-Disposition: inline In-Reply-To: <417E72F4.6090702@aqueos.com> User-Agent: Mutt/1.5.6i Sender: cc: freebsd-questions@freebsd.org Subject: Re: init - inittab , how to monitor process like on linux ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 17:03:27 -0000 --2AEAoBO8/DXd4QY7 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 26, 2004 at 05:53:24PM +0200, ADNET Ghislain wrote: >=20 > On Tue, 26 Oct 2004 04:45:13 +0200, ADNET Ghislain =20 > wrote: > >Hi, > > > > The init process can watch daemon and respawn died ones on linux with > >simple configuration. I tried to reproduce this in my FreeBSD server. I > >know this can be done also as the man page says: > > > > > >but no matter how i tweak the ttys file i cannot make it to work. > > > >Does any FreeeBSD guru can help me make the step from linux complete as > >i cannot find help about this anywhere (the freeBSD admin book do not > >speak of it and google is silent about freeBSD specific ttys "inittab > >like" settings). > > > >A simple exemple will do the trick, basicaly i need this to keep spamd, > >clamd running (with better and safer way than using a while 1 loop on > >the shell). > > > >Best regards, > >Ghislain. What line are you adding to the file /etc/ttys that is not working? Nathan --=20 PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xD8527E49 --2AEAoBO8/DXd4QY7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBf9PsO0ZIEthSfkkRAsfjAJ9K4BAdRBT610lAzR3VU/xvJOZAFACgh/L2 GaeOdEgcrQPaud1ZbY+Kz2E= =Ar96 -----END PGP SIGNATURE----- --2AEAoBO8/DXd4QY7--