innduct_SOURCES = duct.c conn.c filemon.c infile.c recv.c xmit.c \
cli.c defer.c help.c statemc.c __oop-read-copy.c
-dist_doc_DATA = README.states README.statistics
+dist_doc_DATA = README.states README.statistics README.example
innduct_LDADD = -lm -loop
innduct_SOURCES = duct.c conn.c filemon.c infile.c recv.c xmit.c \
cli.c defer.c help.c statemc.c __oop-read-copy.c
-dist_doc_DATA = README.states README.statistics
+dist_doc_DATA = README.states README.statistics README.example
innduct_LDADD = -lm -loop
MAINTAINERCLEANFILES = configure config.h.in Makefile.in
all: config.h
--- /dev/null
+Example configuration
+=====================
+
+On chiark, we have newsfeeds entries that look like this:
+
+ eternal-september/eternal-september.org\
+ :!*,uk.*,cam.*,ed.*,alt.*,..(details elided)....\
+ :Tf,Wnm:
+ the.earth.li/earthli\
+ :!*,....(details elided)...\
+ :Tf,Wnm:the.earth.li
+
+This specifies innd log feed file
+ /var/spool/news/outgoing/eternal-september
+ /var/spool/news/outgoing/the.earth.li
+
+We have an /etc/news/ducts.table containing entries like this:
+ the.earth.li
+ eternal-september feeder.eternal-september.org --port 433
+
+The news user's crontab has lines like this:
+ 10-59/20 * * * * innduct-forall 'ulimit -c 10240; innduct -q !duct'
+ 36 3 * * * find /var/spool/news/outgoing/ -type f -name '*_backlog_*' -mtime +60 -print0 | xargs -0 rm