Re: unversal watchdog

2006-03-02 Thread Brian Reichert
On Wed, Mar 01, 2006 at 10:20:03PM -0700, M. Warner Losh wrote: > : You can do it with /etc/ttys. Actually this point is missing by many > : FreeBSD administrators, people just think of /etc/ttys in term of > : terminals and stuff :) But if youi'll open the man page you would > : found the followin

Re: unversal watchdog

2006-03-01 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Alex Semenyaka <[EMAIL PROTECTED]> writes: : On Mon, Feb 27, 2006 at 05:41:32PM +0700, Vitaliy Ovsyannikov wrote: : > Hello, freebsd-hackers. : > I've stuck with the unable to make watchdogs for daemons running via : > startup rc-scripts. In linux we ca

Re: unversal watchdog

2006-02-28 Thread Kostik Belousov
On Tue, Feb 28, 2006 at 07:26:26AM +0300, Alex Semenyaka wrote: > On Mon, Feb 27, 2006 at 05:41:32PM +0700, Vitaliy Ovsyannikov wrote: > > Hello, freebsd-hackers. > > I've stuck with the unable to make watchdogs for daemons running via > > startup rc-scripts. In linux we can just put the process

Re: unversal watchdog

2006-02-27 Thread Alex Semenyaka
On Mon, Feb 27, 2006 at 05:41:32PM +0700, Vitaliy Ovsyannikov wrote: > Hello, freebsd-hackers. > I've stuck with the unable to make watchdogs for daemons running via > startup rc-scripts. In linux we can just put the process in the > inittab. Does FreeBSD contains ability like this? You can do i

Re: unversal watchdog

2006-02-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Daniel O'Connor" <[EMAIL PROTECTED]> writes: : As to answer the question - I am not aware of any facility for automatically : restarting things (unless you can get init to do it via /etc/ttys somehow) : : I don't think it would be too hard to create a

Re: unversal watchdog

2006-02-27 Thread John-Mark Gurney
Vitaliy Ovsyannikov wrote this message on Mon, Feb 27, 2006 at 17:41 +0700: > I've stuck with the unable to make watchdogs for daemons running via > startup rc-scripts. In linux we can just put the process in the > inittab. Does FreeBSD contains ability like this? yes, you can use ttys(5) for th

Re: unversal watchdog

2006-02-27 Thread Jos Backus
On Mon, Feb 27, 2006 at 04:37:57PM +0300, Deomid Ryabkov wrote: > Vitaliy Ovsyannikov wrote: > >Hello, freebsd-hackers. > > > > I've stuck with the unable to make watchdogs for daemons running via > >startup rc-scripts. In linux we can just put the process in the > >inittab. Does FreeBSD contains

Re: Re: unversal watchdog

2006-02-27 Thread joerg
On Mon, Feb 27, 2006 at 07:20:45AM -0600, Sergey Babkin wrote: > Well, it's been a long story now. Every time someone comes > with the idea of adding init to BSD, other people feel very > strongly that they hate init and that it must not be in BSD. /sbin/init existed on BSD almost forever. You cou

Re: unversal watchdog

2006-02-27 Thread Deomid Ryabkov
Vitaliy Ovsyannikov wrote: Hello, freebsd-hackers. I've stuck with the unable to make watchdogs for daemons running via startup rc-scripts. In linux we can just put the process in the inittab. Does FreeBSD contains ability like this? try sysutils/daemontools -- Deomid Ryabkov aka Rojer [

Re: unversal watchdog

2006-02-27 Thread Joseph Koshy
dc> As to answer the question - I am not aware of any facility for dc> automatically restarting things (unless you can get init to do dc> it via /etc/ttys somehow) Wasn't there a port of launchd in the wings? -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy

Re: Re: unversal watchdog

2006-02-27 Thread Sergey Babkin
>From: Daniel O'Connor <[EMAIL PROTECTED]> >On Monday 27 February 2006 22:33, Tobias Roth wrote: >> > man rc.subr plus a look through /etc/rc.d should get you started :) >> >> Can you explain in more detail how one can handle the watchdog part of >> the equation? I can't find that information in t

Re: unversal watchdog

2006-02-27 Thread Daniel O'Connor
On Monday 27 February 2006 22:33, Tobias Roth wrote: > > man rc.subr plus a look through /etc/rc.d should get you started :) > > Can you explain in more detail how one can handle the watchdog part of > the equation? I can't find that information in the rc.subr manpage. Ahh sorry I think I misunder

Re: unversal watchdog

2006-02-27 Thread Tobias Roth
On Mon, Feb 27, 2006 at 09:53:17PM +1030, Daniel O'Connor wrote: > On Monday 27 February 2006 21:11, Vitaliy Ovsyannikov wrote: > > I've stuck with the unable to make watchdogs for daemons running via > > startup rc-scripts. In linux we can just put the process in the > > inittab. Does FreeBSD co

Re: unversal watchdog

2006-02-27 Thread Daniel O'Connor
On Monday 27 February 2006 21:11, Vitaliy Ovsyannikov wrote: > I've stuck with the unable to make watchdogs for daemons running via > startup rc-scripts. In linux we can just put the process in the > inittab. Does FreeBSD contains ability like this? Create a script for /etc/rc.d (or /usr/local/e

unversal watchdog

2006-02-27 Thread Vitaliy Ovsyannikov
Hello, freebsd-hackers. I've stuck with the unable to make watchdogs for daemons running via startup rc-scripts. In linux we can just put the process in the inittab. Does FreeBSD contains ability like this? -- Sincerely, Vitaliy Ovsyannikov JSC Skala, Krasnoyarsk, Russia _