Re: Emulate pipe-tools' finish script using daemontools?

Jos Backus <[email protected]> Thu, 29 Jun 2006 09:33:39 -0701
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
    Hi Daryl,

On Thu, Jun 29, 2006 at 11:42:52AM +0930, Daryl Tester wrote:
> Jos Backus wrote:
[snip]
> I have a patch to supervise that does something similar.  From the comments
> of the patch -
> 
> **  Run 'postrun' program (if it exists) after run program has completed.
> **  postrun is passed 7 arguments, consisting of:
[snip]
> I haven't "released" it as such because it needs better documentation, but
> it's been in production for a while now.  I can mail you a copy off list
> if you're willing to be a guinea pig.  :-)

Sure :) This looks nicer even than what pipe-tools provides. By all means,
please send me a copy and I'll try rolling it into the daemontools-toaster rpm
we are using.

> >So the question is: is there a way to emulate this behavior using 
> >daemontools?
> 
> Difficult, given the need to exec the final program into place in
> the run script.

Yeah, I figured as much. Wouldn't it be great if Dan released a new version
with this decidedly new functionality? One can dream...

-- 
Jos Backus
jos at catnook.com