From owner-freebsd-questions  Tue Jan 19 02:52:46 1999
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id CAA19509
          for freebsd-questions-outgoing; Tue, 19 Jan 1999 02:52:46 -0800 (PST)
          (envelope-from owner-freebsd-questions@FreeBSD.ORG)
Received: from stk-mail.tv3.se (mail.tv3.se [193.14.64.100])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA19501
          for <freebsd-questions@freebsd.org>; Tue, 19 Jan 1999 02:52:43 -0800 (PST)
          (envelope-from patrik.astrom@tv3.se)
Received: by STK-MAIL with Internet Mail Service (5.5.2232.9)
	id <YR965YML>; Tue, 19 Jan 1999 11:51:35 +0100
Message-ID: <B11AC84AFD40D2118FD700805FA6FE4C4CC924@STK-MAIL>
From: =?iso-8859-1?Q?Patrik_=C5str=F6m?= <patrik.astrom@tv3.se>
To: "'Greg Lehey'" <grog@lemis.com>
Cc: "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject: RE: What to use instead of inittab
Date: Tue, 19 Jan 1999 11:51:35 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id CAA19504
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

IM not running any kind of terminal software, this is more a generic
question how to solve the problem with applications that is dying. I would
like to have these application restarted as soon as possible after they die.

e.g. lets say I have some FreeBSD boxes that does very little and I would
like to donate the spare CPU cycles to the distributed.net project, these
boxes is almost never attended to and it would be a shame if the rc5des
application stopped running and I there for not did contribute all the spare
CPU cycles I would like it to.

Is there some sort of daemon I could install that would do this thing
instead of a inittab ?

// Patrik 

> -----Original Message-----
> From:	Greg Lehey [SMTP:grog@lemis.com]
> Sent:	den 19 januari 1999 11:41
> To:	Patrik Åström
> Cc:	'freebsd-questions@freebsd.org'
> Subject:	Re: What to use instead of inittab
> 
> On Tuesday, 19 January 1999 at 11:20:38 +0100, Patrik Åström wrote:
> > Hi!
> >
> > FreeBSD dont have a inittab like HP-UX, Solaris, Linux etc...
> >
> > Is there anything I can use instead ?,
> 
> Yes.
> 
> > or do I need to write a script that runs from cron and looks for any
> > proccess that have died and then restart them.
> 
> I suppose it depends on what you want to do.  Take a look at ttys(5).
> If that doesn't answer your question, state it.
> 
> Greg
> --
> See complete headers for address, home page and phone numbers
> finger grog@lemis.com for PGP public key
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message