Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 02:11:42 -0600
From:      "Mike Meyer" <mwm-dated-1015920703.139c8b@mired.org>
To:        Sandeep Kumar <skumar@juniper.net>
Cc:        questions@freebsd.org
Subject:   Re: Monitoring an arbitrary daemon through init
Message-ID:  <15495.8382.767494.945495@guru.mired.org>
In-Reply-To: <77530151@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Sandeep Kumar <skumar@juniper.net> 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 <URL: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=conf/27418 >, as
well as a discussion of why it's a bad idea.

	<mike

--
Mike Meyer <mwm@mired.org>			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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15495.8382.767494.945495>