On Fri, 16 Feb 2007 21:40:03 -0700
"Daniel Robbins" <[EMAIL PROTECTED]> wrote:

> Oh, and a bit of history - at one point, I used djb's supervise as
> part of the initscripts so that we could do stuff similarly to
> upstart. When the initscripts were rewritten, we went to bash and had
> the intention of adding process monitoring and restart eventually -
> but gentoo was growing so fast that we never really got to do this.

baselayout-1.12 tracks how daemons are started per init script via
start-stop-daemon calls. We also enforce

1) what is calls is really the daemon and not just a shell script that
launches some

2) When `/etc/init.d/foo status` is called it checks to see if all
started daemons are still running, if not then it stops itself.

baselayout-2 will change this a little so that status will just report
the status, and a new command (crashed, isrunning, any other ideas?)
will report if it's crashed or not. We also have C bindings for this.

Thanks

Roy
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to