On Fri, Aug 11, 2000 at 11:45:58PM -0400, Russell Nelson wrote:
> #!/bin/sh
> QMAILDUID=`id -u qmaill`
> NOFILESGID=`id -g qmaill`
> exec softlimit -m 2000000 \
> tcpserver -p -x cdb -u QMAILDUID -g $NOFILESGID 0 642 \
> /usr/local/bin/xargs -e EOF /usr/local/bin/logselect
I thought I'd just nitpick a bit. Sorry Russ. :-)
#!/bin/sh
exec softlimit -m 2000000 envuidgid qmaill \
tcpserver -p -x cdb -U 0 642 xargs -e EOF logselect
(The main change: instead of -u and -g, use envuidgid and -U; this works
with newer versions of tcpserver.)
Hmm, what's the -e option to xargs? Is that a GNU thing?
---Chris K.
--
Chris, the Young One |_ If you can't afford a backup system, you can't
Auckland, New Zealand |_ afford to have important data on your computer.
http://cloud9.hedgee.com/ |_ ---Tracy R. Reed