From owner-freebsd-questions Thu Mar 7 0:11:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 866EA37B404 for ; Thu, 7 Mar 2002 00:11:45 -0800 (PST) Received: (qmail 86028 invoked by uid 100); 7 Mar 2002 08:11:43 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15495.8382.767494.945495@guru.mired.org> Date: Thu, 7 Mar 2002 02:11:42 -0600 To: Sandeep Kumar Cc: questions@freebsd.org Subject: Re: Monitoring an arbitrary daemon through init In-Reply-To: <77530151@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.48 (Python 2.2 on freebsd4) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sandeep Kumar types: > init(8) man page says that , its possible to monitor a daemon by adding > an entry in /etc/ttys. > > I added the following entry and then sent SIGHUP to init: > -d "/usr/sbin/syslogd -s" unknown on > > > syslogd didn't start. Does this feature work? If yes, can somebody send > me an example entry? It worked at one point, but it's a bad idea. You can find an example at , as well as a discussion of why it's a bad idea. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message