]> Cypherpunks.ru repositories - nncp.git/blobdiff - doc/cmd/nncp-check.texi
Multicast areas
[nncp.git] / doc / cmd / nncp-check.texi
diff --git a/doc/cmd/nncp-check.texi b/doc/cmd/nncp-check.texi
new file mode 100644 (file)
index 0000000..4a257af
--- /dev/null
@@ -0,0 +1,18 @@
+@node nncp-check
+@section nncp-check
+
+@example
+$ nncp-check [-nock] [-cycle INT] [options]
+@end example
+
+Perform @ref{Spool, spool} directory integrity check. Read all files
+that has Base32-encoded filenames and compare it with recalculated
+@ref{MTH} hash output of their contents.
+
+The most useful mode of operation is with @option{-nock} option, that
+checks integrity of @file{.nock} files, renaming them to ordinary
+(verified) encrypted packets.
+
+@option{-cycle} option tells not to quit, but to repeat checking every
+@option{INT} seconds in an infinite loop. That can be useful when
+running this command as a daemon.