process always running

Jonathan McKeown jonathan at hst.org.za
Thu Nov 27 06:23:39 PST 2008


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


More information about the freebsd-questions mailing list