init - inittab , how to monitor process like on linux ?

From: ADNET Ghislain (gadnet_at_aqueos.com)
Date: 10/26/04

  • Next message: MrBluez: "Dmesg output confusion/printer problems"
    Date: Tue, 26 Oct 2004 17:53:24 +0200
    To: freebsd-questions@freebsd.org
    
    

    On Tue, 26 Oct 2004 04:45:13 +0200, ADNET Ghislain <gadnet@aqueos.com> wrote:
    > 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.

    Best to post this to freebsd-questions.

    -- 
    Terry
    --------------------------------------------------------
    you are right this is a bsd newby question ;)
    here we go :) !
    i pray the BSD god for an answer, yet humans are probably the best source of information out there 
    so if any mere mortal can help me with my init question it will save some goats from the sacrificial ritual...
    Best regards,
    Ghislain
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: MrBluez: "Dmesg output confusion/printer problems"

    Relevant Pages

    • Re: init - inittab , how to monitor process like on linux ?
      ... > simple configuration. ... I tried to reproduce this in my FreeBSD server. ... > will be passed to the daemon as the final argument on its command line. ... > Does any FreeeBSD guru can help me make the step from linux complete as ...
      (freebsd-newbies)
    • Re: 5.3 interrupt storm (atapicam) and I/O error
      ... attached you will find a copy of my custom kernel ... config which did work without any issue under FreeBSD ... The following hardware configuration *won't* cause ... * harddrive attached to IDE channel #1 ...
      (freebsd-questions)
    • Re: Items missing from the handbook and/or FAQs.
      ... > configuration is handled through ifconfig would have saved me some time. ... > would also have saved me reading through the rc scripts. ... > During setup you can create filesystems other than FreeBSD, ... > their own gdm startup scripts doesn't make much sense. ...
      (freebsd-questions)
    • Re: OT - Quagga/CARP
      ... afaik the freebsd userland tools can't get the route-setting done eiter. ... when an alternate route for the same prefix is in the kernel route table. ... the zebra and ospf processes entirely for them to pick things up ... interface configuration and routing driven out of Quagga. ...
      (freebsd-net)
    • Re: (Another) simple benchmark
      ... I'm NOT using PHP - it was mentioned as a reason threaded apache is not widely used. ... This performance is objectively low even by itself, without any comparison with other operating systems (such as linux). ... What I *am* doing now is looking for someone who has a 4 CPU or bigger machine idle on which he/she can replicate this simple benchmark (it really IS simple - you need apache20 port in default configuration - everything's included) and confirm or contradict my results. ... If it's Linux, FreeBSD 4, FreeBSD 6, Windows, Solaris, ...
      (freebsd-performance)