Date: Fri, 29 Mar 1996 09:50:27 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: dwalton@psiint.com (Dave Walton) Cc: questions@FreeBSD.ORG Subject: Re: Respawn in BSD? Message-ID: <199603282320.JAA18215@genesis.atrad.adelaide.edu.au> In-Reply-To: <Pine.A32.3.91.960328121239.43928A-100000@vv.psiint.com> from "Dave Walton" at Mar 28, 96 12:18:16 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Dave Walton stands accused of saying: > > 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. Sounds like a panacea for crappy daemons. Cron doesn't die under FreeBSD, and everything else can be checked and restarted with it if you have problems. > 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. Why not? I run xdm out of /etc/ttys... > David Walton Unix Programmer -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603282320.JAA18215>