]> Cypherpunks.ru repositories - nncp.git/blob - doc/cfg/general.texi
ae6ca588827c9b778aeb405c9eb0e60f5a27f59e
[nncp.git] / doc / cfg / general.texi
1 @node CfgGeneral
2 @section Configuration general options
3
4 Those options are in the root of configuration dictionary.
5
6 @verbatim
7 spool: /var/spool/nncp
8 log: /var/spool/nncp/log
9
10 # All of options below are optional
11 umask: "022"
12 noprogress: true
13 nohdr: true
14
15 # MultiCast Discovery
16 mcd-listen: ["em0", "igb1"]
17 mcd-send: {em0: 60, igb1: 5}
18 @end verbatim
19
20 @table @code
21 @item spool
22 Absolute path to the @ref{Spool, spool} directory.
23 @item log
24 Either:
25     @itemize
26     @item absolute path to the @ref{Log, log} file
27     @item @code{FD:XXX}, where @code{XXX} is a decimal file descriptor
28         to write records too
29     @end itemize
30 @item umask
31 Will force all invoked commands to override their umask to specified
32 octal mask. Useful for using with @ref{Shared spool, shared spool directories}.
33 @item noprogress
34 When enabled, disables progress showing for many commands by default.
35 You can always force its showing with @option{-progress} command line
36 option anyway.
37 @anchor{CfgNoHdr}
38 @item nohdr
39 @strong{nohdr} option disables @ref{HdrFile, @file{hdr/}} files usage.
40 @end table
41
42 And optional @ref{MCD, MultiCast Discovery} options:
43
44 @table @code
45 @anchor{CfgMCDListen}
46 @item mcd-listen
47 Specifies list of network interfaces @ref{nncp-caller} will listen for
48 incoming @ref{MCD} announcements.
49 @anchor{CfgMCDSend}
50 @item mcd-send
51 Specifies list of network interfaces, and intervals in seconds, where
52 @ref{nncp-daemon} will send @ref{MCD} announcements.
53 @end table