[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pipeline outlives TERMed bash
From: |
Paul Jarc |
Subject: |
Re: pipeline outlives TERMed bash |
Date: |
Wed, 14 Sep 2005 17:51:49 -0400 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) |
Denis Vlasenko <vda@ilport.com.ua> 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>
For more help with daemontools, try supervision@list.skarnet.org or
log@list.cr.yp.to.
paul