On Wed, Feb 07, 2001 at 07:16:59AM +0000, Tim Hassan wrote:
 
> I actually liked that very much (if server is physically restricted) but 
> there is one draw back; nothing will be logged to log/current.
> Therefore, I wandered if there is a way to have supervise log to both 
> console and to qmail-send/log and/or qmail-smtpd/log. 

change /var/qmail/supervise/qmail-send/log/run to include
        exit 2>/dev/console
and change to multilog invocation in the same script from
        multilog \
        options \
        /whereever/qmail-send/log
to
        multilog \
        options \
        /whereever/qmail-send/log \
        +* \
        e

in other work: make use of the "e" option of the multilog process.
See http://cr.yp.to/daemontools/multilog.html for more information.

I'd actually hate that.

Regards, Uwe

Reply via email to