public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hallgrimur H. Gunnarsson" <hhg@data.is>
To: Wes Chow <wes@woahnelly.net>
Cc: Martin Lesser <gentoo@better-com.de>, gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] New USE flag 'daemontools' as an alternative to init.d
Date: Thu, 11 Sep 2003 16:00:24 +0000	[thread overview]
Message-ID: <20030911160024.GA974@data.is> (raw)
In-Reply-To: <20030911135707.GB3889@jeeves.woahnelly.net>

On 11.09.2003 Wes Chow <wes@woahnelly.net> wrote:
> 
> I always thought daemontools sounded nice, but have never tried to
> actually use it for system services.  Actually, there is one thing that
> I'm not quite sure how it deals with, which is dependencies.  For
> example, under the Gentoo init scripts, you can specify that, the
> "httpd" service only gets started after the "net" service is up and
> running.  Looking over daemontools, I wasn't able to find any obvious
> way of doing this.  Is there?

No, that'd be implemented in another layer above daemontools itself
(provided that you'd even want to do that with daemontools).
Daemontools is not meant to replace init.d in network initialization,
which isn't a daemon, so you couldn't supervise
it with daemontools. Daemontools is for managing daemons,
starting, stopping, restarting, status, signal delivery. Daemontools
ensures that a daemon will be running, init.d doesnt notice or restart
a service if it suddenly dies, init.d also doesnt offer logging
in the way daemontools can provide it.

Daemontools is already being used by at least qmail and djbdns by
default. By introducing a USE flag we get many advantages:

*) Packages can provide daemontools and init.d support. The user
can choose what to use for managing a service.

*) Packages using daemontools as default now, can provide init.d
support if 'daemontools' is not set.

etc.

I'd also like to point out two additional packages in portage
that might be of use if you're using or planning on checking
out daemontools.

daemontools-man: provides man pages for daemontools.
supervise-scripts: simplified wrappers for managing services in
daemontools.

You can also read up on bug #28294, where alot of discussion
has been going on.

Martin Schlemmer (azarah) has given a green light on this, so
I'll be submitting daemontools-aware modification for ebuilds
during the next days.

-- hhg

--
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2003-09-11 16:02 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-09 21:11 [gentoo-dev] New USE flag 'daemontools' as an alternative to init.d Hallgrimur H. Gunnarsson
2003-09-09 21:16 ` Matt Thrailkill
2003-09-09 21:43 ` Bryan D. Stine
2003-09-09 21:44   ` Hallgrimur H. Gunnarsson
2003-09-09 21:51     ` Hallgrimur H. Gunnarsson
2003-09-09 22:24       ` Bryan D. Stine
2003-09-10  9:33         ` Juan Jesus Prieto
2003-09-10  6:46 ` Martin Lesser
2003-09-11 13:57   ` Wes Chow
2003-09-11 16:00     ` Hallgrimur H. Gunnarsson [this message]
2003-09-11 13:53       ` Henti Smith
2003-09-11 16:13         ` Hallgrimur H. Gunnarsson
2003-09-11 16:28         ` Andrew Gaffney
2003-09-11 14:01           ` Henti Smith
2003-09-11 16:27       ` Wes Chow
2003-09-11 16:38         ` Hallgrimur H. Gunnarsson
2003-09-11 18:02         ` Frederick Grim
2003-09-11 18:16           ` Frederick Grim
2003-09-11 18:18           ` Hallgrimur H. Gunnarsson
     [not found]             ` <20030911183642.GC5824@norby.dyndns.org>
2003-09-11 18:46               ` [gentoo-dev] Re: gentoo-dev@gentoo.org Hallgrimur H. Gunnarsson
2003-09-17  7:00             ` [gentoo-dev] New USE flag 'daemontools' as an alternative to init.d Mark Francis
2003-09-17 14:38               ` Petre Rodan
2003-09-11 12:19 ` Petre Rodan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030911160024.GA974@data.is \
    --to=hhg@data.is \
    --cc=gentoo-dev@gentoo.org \
    --cc=gentoo@better-com.de \
    --cc=wes@woahnelly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox