On Thursday 15 September 2005 00:51, Paul Jarc wrote:
> Denis Vlasenko <[EMAIL PROTECTED]> wrote:
> > The problem is that svc -d (or manual kill -TERM)
> > kills bash but nmeter and logger continue to run,
> > until I kill nmeter manually.
> 
> It's best not to put a long-running pipeline in a daemontools run
> script, for just this reason (among others).  Instead, move logger
> into a separate /service/foo/log/run script.
> <URL:http://cr.yp.to/daemontools/faq/create.html#runlog>

Done.

But in cases where I can't avoid using a pipeline:
I find it unconvenient that there is no sane way to know PIDs
of individual pipeline members. Or is there?

$! returns PID of _last_ process in backgrounded pipeline,
but I want to know PID of first one.
--
vda


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to