Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 1996 12:18:16 -0800 (PST)
From:      Dave Walton <dwalton@psiint.com>
To:        questions@freebsd.org
Subject:   Respawn in BSD?
Message-ID:  <Pine.A32.3.91.960328121239.43928A-100000@vv.psiint.com>
In-Reply-To: <Pine.Sola.3.91.960328094707.415B-100000@chicago>

next in thread | previous in thread | raw e-mail | index | archive | help

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.

Dave


==========================================================================
David Walton                                     Unix Programmer
PSI INTERNATIONAL, Inc.                          email: dwalton@psiint.com
190 South Orchard #C200                          Fax  :(707)451-6484
Vacaville, CA 95688                              Phone:(707)451-3503
==========================================================================





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.A32.3.91.960328121239.43928A-100000>