Re: Trouble with Sn and Slrn
Georg Neis <[email protected]>
| Newsgroups | gmane.network.sn |
|---|---|
| Message-ID | <[email protected]> |
Patrik RÃ¥dman <[email protected]> wrote: > Georg Neis <[email protected]> wrote: > > [snip] > > /usr/sbin/snntpd is the following shellscript: > > > > #!/bin/sh > > export POSTING_OK=1 > > exec /usr/sbin/snntpd.bin $@ 2>&1 | /usr/bin/logger -p news.info > > Try this instead: > exec /usr/sbin/snntpd.bin $@ /usr/bin/logger -p news.info > > stdout from snntpd should go to the news reader, not the logger. Ok, I can blame the documentation where a pipe was used. So, that will solve the first problem. > > So, it seems that I've "got stdout and stderr from snntpd mixed > > together". I'm wondering where this happens!? > > Well, if you redirect stdout and stderr to the same pipe... :) No, I used only "exec /usr/sbin/snntpd.bin $@" - whereby it doesn't make any difference if I omit the "exec". Do you need further information? > No archive yet, sorry. There's an FAQ included from 0.3.5 on, only > one question so far though. :) Yes, already read it. GruÃ, Georg