X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fadmin.texi;h=11c26ecd570b8c42dd0fdd5855eab68c3603bebc;hb=7f71f37675f61b4081ad6fef2a936f1c7eb620f9;hp=02c15794a5be8f865462a18ea338106e1d607480;hpb=3894bc10b3ac753b7048d83db0a3b5b5843b7232;p=nncp.git diff --git a/doc/admin.texi b/doc/admin.texi index 02c1579..11c26ec 100644 --- a/doc/admin.texi +++ b/doc/admin.texi @@ -20,8 +20,12 @@ NNCP uses following files/directories you should be aware of: Partly transferred files are stored with @file{.part} suffix. And possibly they also require cleanup if they are completely lost. - Also it can contain @file{.seen} files, that should be cleaned too - from time to time. + It can contain @file{.nock} files: fully downloaded, but still not + checksummed. Can be checksummed (with @file{.nock} extension removing) + with @command{nncp-check -nock}. + + Also it can contain @file{seen/} and @file{hdr/} subdirectories, + that should be cleaned too from time to time. All of that cleaning tasks can be done with @ref{nncp-rm} utility. @@ -45,7 +49,7 @@ $ echo 'umask: "007"' >> /usr/local/etc/nncp.hjson Example @url{https://www.newsyslog.org/manual.html, newsyslog}'s entry: @example -/var/spool/nncp/log 644 7 100 * CYN +/var/spool/nncp/log 644 7 100 * BCYN @end example @item @@ -60,32 +64,30 @@ $ echo 'umask: "007"' >> /usr/local/etc/nncp.hjson @item Possibly long running @ref{nncp-daemon}, @ref{nncp-caller}, - @ref{nncp-toss} daemons. As all software, they can fail and you - should place them under some supervisor control. + @ref{nncp-toss}, @ref{nncp-check} daemons. As all software, they can + fail and you should place them under some supervisor control. For example you can use @url{http://cr.yp.to/daemontools.html, daemontools} for that task to run them under probably existing @verb{|uucp|} user: @example -# mkdir -p /var/service/nncp-toss/log -# chmod 755 /var/service/nncp-toss/log /var/service/nncp-toss -# cd /var/service/nncp-toss +# mkdir -p /var/service/.nncp-toss/log +# cd /var/service/.nncp-toss -# cat > run_ < run <&1 exec setuidgid uucp /usr/local/bin/nncp-toss -cycle 10 EOF -# chmod 755 run_ -# cat > log/run_ < log/run < run <&1 +EOF + +# cat > log/run <