Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 1996 15:31:56 -0500
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        Dave Walton <dwalton@psiint.com>
Cc:        questions@freebsd.org
Subject:   Respawn in BSD?
Message-ID:  <9603282031.AA04496@halloran-eldar.lcs.mit.edu>
In-Reply-To: <Pine.A32.3.91.960328121239.43928A-100000@vv.psiint.com>
References:  <Pine.Sola.3.91.960328094707.415B-100000@chicago> <Pine.A32.3.91.960328121239.43928A-100000@vv.psiint.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 28 Mar 1996 12:18:16 -0800 (PST), Dave Walton <dwalton@psiint.com> said:

> In the System V inittab file, you can give the 'respawn' keyword so that 
> if the given process ever dies, init will automatically restart it.  I've 
> seen this used to ensure that cron is alway running, for example.

> How is it possible to do this in FreeBSD?  Processes listed in /etc/ttys 
> are restarted, but that's for getty and friends, and isn't really 
> appropriate for cron, etc.

By writing programs that don't have bugs in them causing random
crashes.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



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