Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2006 21:53:17 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-hackers@freebsd.org, Vitaliy Ovsyannikov <V.Ovsyannikov@kr.ru>
Subject:   Re: unversal watchdog
Message-ID:  <200602272154.03459.doconnor@gsoft.com.au>
In-Reply-To: <1602933046.20060227174132@kr.ru>
References:  <1602933046.20060227174132@kr.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



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