init - inittab , how to monitor process like on linux ?
From: ADNET Ghislain (gadnet_at_aqueos.com)
Date: 10/26/04
- Previous message: Bachman Kharazmi: "Re: remote logon"
- Next in thread: terry tyson: "Re: init - inittab , how to monitor process like on linux ?"
- Reply: terry tyson: "Re: init - inittab , how to monitor process like on linux ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 26 Oct 2004 04:45:13 +0200 To: freebsd-newbies@freebsd.org
Hi,
The init process can watch daemon and respawn died ones on linux with
simple configuration. I tried to reproduce this in my FreeBSD server. I
know this can be done also as the man page says:
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.
but no matter how i tweak the ttys file i cannot make it to work.
Does any FreeeBSD guru can help me make the step from linux complete as
i cannot find help about this anywhere (the freeBSD admin book do not
speak of it and google is silent about freeBSD specific ttys "inittab
like" settings).
A simple exemple will do the trick, basicaly i need this to keep spamd,
clamd running (with better and safer way than using a while 1 loop on
the shell).
Best regards,
Ghislain.
_______________________________________________
freebsd-newbies@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
- Previous message: Bachman Kharazmi: "Re: remote logon"
- Next in thread: terry tyson: "Re: init - inittab , how to monitor process like on linux ?"
- Reply: terry tyson: "Re: init - inittab , how to monitor process like on linux ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|