Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2006 11:34:23 -0800
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        Vitaliy Ovsyannikov <V.Ovsyannikov@kr.ru>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: unversal watchdog
Message-ID:  <20060227193423.GL840@funkthat.com>
In-Reply-To: <1602933046.20060227174132@kr.ru>
References:  <1602933046.20060227174132@kr.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Vitaliy Ovsyannikov wrote this message on Mon, Feb 27, 2006 at 17:41 +0700:
>   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?

yes, you can use ttys(5) for this...  You will get an extra argument
or two... but a wrapper script can handle that for you...  Though you
need to have the daemon run in foreground mode, so that when it dies
init knows it did, and restarts it...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



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