tcpserver still logs to the console with
supervise $DIR \
tcpserver $VERBOSE -c$CONCURRENT -u$USERID -g$GROUPID 0 $PORT
\
qmail-popup $HOST $CHKPASS $COMMAND Maildir
>/dev/null 2>&1 &
still logs to the console.
ps -ax says:
25330 p1 S 0:00 supervise /var/lock/qmail-pop3d tcpserver -v -c140 -u0
-g0
025331 p1 S 0:00 tcpserver -v -c140 -u0 -g0 0 pop-3 qmail-popup
mail.f-tech.net
The last parts of the cmd line were hacked off.
My console looks like:
tcpserver: ok 25355 mail.f-tech.net:207.44.65.16:110
ft153.f-tech.net:207.44.65.153::1321
tcpserver: end 25355 status 256
tcpserver: pid 25357 num 0 from 207.44.65.217
tcpserver: ok 25357 mail.f-tech.net:207.44.65.16:110
ft217.f-tech.net:207.44.65.217::1350
Paul D. Farber II
Farber Technology
717-628-5303
[EMAIL PROTECTED]
On Tue, 12 Jan 1999, Andrzej Kukula wrote:
> On 11 Jan 99 at 18:31, Paul Farber wrote:
>
> > Currnetly, I have:
> > supervise $DIR \
> > tcpserver $VERBOSE -c$CONCURRENT -u$USERID -g$GROUPID 0 $PORT\
> > qmail-popup $HOST $CHKPASS $COMMAND Maildir \
> > 2>&1 /dev/null
>
> In sh and bash, 2>&1 binds stderr to stdout. If you want to redirect both
> to /dev/null, use
> >/dev/null 2>&1
> The first redirects stdout to /dev/null, the second binds stderr to stdout
> (and in effect to /dev/null).
>
>
> Andrzej Kukula
>