Hi Johan, 

from the init(8) manpage:

``Init can also be used to keep arbitrary daemons running,
automatically restarting them if they die.  In this case, the first
field in the ttys(5) file must not reference the path to a
configured device node and will be passed to the daemon as the final
argument on its command line.  This is similar to the facility
offered in the AT&T System V UNIX /etc/inittab.''

/etc/ttys is the file you're after.

Regards,
Phil.

Johan Brodin <[EMAIL PROTECTED]> 23 lines of wisdom included:
> Hi!
> 
> I'm new to this list and I want to ask a rather simple question. Does
> FreeBSD contain a program (preferably a kernel process) that can see if
> another process (user defined) terminates and then restart this process?
> Or will I have to use an "external" program for this?
> 
> Grateful for a quick answer!

-- 
Philip Reynolds                  | Technical Director
[EMAIL PROTECTED]  | RFC Networks Ltd.
http://www.rfc-networks.ie       | +353 (0)1 8832063

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to