From: Laurent Bercot <ska-supervision@skarnet.org>
To: supervision@list.skarnet.org
Subject: Re: What is the process group hack
Date: Fri, 27 Apr 2012 03:20:25 +0200 [thread overview]
Message-ID: <20120427012025.GA23967@skarnet.org> (raw)
In-Reply-To: <20120426202753.1cc24411@b0llix.net>
Just to clarify:
There are two different tools that should not be confused.
* The "process group hack" tool, prgphack. It's not a real hack,
it's just a call to setsid(2).
* The "foreground hack", fghack. This one is a real unadulterated
100% ugly hack. It's used to allow self-backgrounding processes to
be still managed by a supervisor.
Documentation - sparse, but accurate - about those tools can be found
on the daemontools web site:
http://cr.yp.to/daemontools/fghack.html
http://cr.yp.to/daemontools/pgrphack.html
> It should be mentioned that daemontools itself should be
> considered deprecated by several alternatives currently
> available and under active maintenance. For example, runit,
> daemontools-encore, and perp.
And s6. Please. :P
--
Laurent
prev parent reply other threads:[~2012-04-27 1:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-26 15:15 harish badrinath
2012-04-26 15:52 ` Mike Buland
2012-04-26 18:27 ` Wayne Marshall
2012-04-26 19:02 ` Charlie Brady
2012-04-27 1:20 ` Laurent Bercot [this message]
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=20120427012025.GA23967@skarnet.org \
--to=ska-supervision@skarnet.org \
--cc=supervision@list.skarnet.org \
/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;
as well as URLs for NNTP newsgroup(s).