Date: Thu, 27 Nov 2008 16:23:48 +0200 From: Jonathan McKeown <jonathan@hst.org.za> To: freebsd-questions@freebsd.org Subject: Re: process always running Message-ID: <200811271623.48890.jonathan@hst.org.za> In-Reply-To: <20081127134658.GA31551@mercury.meisternet.ch> References: <c60a46e50811270505q4d90d42p8f66daed977620c2@mail.gmail.com> <20081127134658.GA31551@mercury.meisternet.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 27 November 2008 15:46:58 Dominik Meister wrote: > Hi > > Gian Paolo Buono [Thu, Nov 27, 2008 at 02:05:44PM +0100]: > > there is a method in freebsd for restart process whenever it terminates > > ? I use in linux respawn in inittab... > > One possibility that comes to mind is using daemontools [0]. Should be > in ports but there are probably easier ways to achieve this. I've never tried it, but according to the manpage for init(8) you can get the same effect as a respawn entry in a sysV inittab by putting the command in /etc/ttys. Perhaps someone who's done it could comment? Jonathan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811271623.48890.jonathan>