tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tpop3d-discuss] tpop3d 1.4.2 : feature requests.


From: Dave Baker
Subject: Re: [tpop3d-discuss] tpop3d 1.4.2 : feature requests.
Date: Fri, 9 Aug 2002 10:37:30 -0400
User-agent: Mutt/1.3.28i

On Fri, Aug 09, 2002 at 08:15:56AM -0600, Ben Schumacher wrote:
> Is the 'run' script you're using with daemontools based on a bourne shell?
> If so you, can redirect STDERR to STDOUT for every child process that is a
> child of that one fairly trivially.
> 
> Try something like this:
> 
> #!/bin/sh
> exec 2>&1
> /usr/local/sbin/tpop3d -d
> 
> That should have the desired effect.
>

Ah!  Problem solved.  My /sbin/sh (freebsd 4.5) is not bourne-ish enough
for the 2>&1 to take effect.  changing the first line to reference bash
does the trick.

Thanks.

Dave

-- 

- Dave Baker  :  address@hidden  :  address@hidden  :  http://dsb3.com/ -
GnuPG:  1024D/D7BCA55D / 09CD D148 57DE 711E 6708  B772 0DD4 51D5 D7BC A55D



reply via email to

[Prev in Thread] Current Thread [Next in Thread]