Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 10:55:49 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Alex Semenyaka <flist@jabberwock.rinet.ru>, Vitaliy Ovsyannikov <V.Ovsyannikov@kr.ru>, freebsd-hackers@freebsd.org
Subject:   Re: unversal watchdog
Message-ID:  <20060228085549.GG92816@deviant.kiev.zoral.com.ua>
In-Reply-To: <20060228042626.GA35526@stupid.rinet.ru>
References:  <1602933046.20060227174132@kr.ru> <20060228042626.GA35526@stupid.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--BI5RvnYi6R4T2M87
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 28, 2006 at 07:26:26AM +0300, Alex Semenyaka wrote:
> On Mon, Feb 27, 2006 at 05:41:32PM +0700, Vitaliy Ovsyannikov wrote:
> > Hello, freebsd-hackers.
> >   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?
>=20
> You can do it with /etc/ttys. Actually this point is missing by many
> FreeBSD administrators, people just think of /etc/ttys in term of
> terminals and stuff :) But if youi'll open the man page you would
> found the following:
>=20
>      The first field is normally the name of the terminal special file as=
 it
>      is found in /dev.  However, it can be any arbitrary string when the =
asso-
>      ciated command is not related to a tty.
>=20
> So you can perfectly run any program there and init will watch or it, just
> like in linux.
>=20
> --=20
> Sincerely,
> Alex Semenyaka

But, just to be aware, see PR bin/64198.

Best regards,
Kostik Belousov

--BI5RvnYi6R4T2M87
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (FreeBSD)

iD8DBQFEBBAUC3+MBN1Mb4gRAiPfAKCARbWxCwIwo9zfKuLYUAij12eoZwCfa3y4
0PcIuXedb3Y9G8R7DJhW+Wk=
=ASin
-----END PGP SIGNATURE-----

--BI5RvnYi6R4T2M87--



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