X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=inn-innduct.git;a=blobdiff_plain;f=doc%2Fman%2Finnduct.8;h=a4c028f9a98922ea8243c02e62c49a72ed1ed479;hp=71c2afe0a5124948229ebc2537f2dfe6180efa77;hb=03afab2d8ef7b2f62424cf96192d378ca15e8ad4;hpb=a47eafd3860513c1dd61a75abc413e6bd1b5b3f9 diff --git a/doc/man/innduct.8 b/doc/man/innduct.8 index 71c2afe..a4c028f 100644 --- a/doc/man/innduct.8 +++ b/doc/man/innduct.8 @@ -107,6 +107,18 @@ Read instead of the default .BR inn.conf . .TP +.BI \-\-port= PORT +Connect to port +.I PORT +at the remote site rather than to the NNTP port (119). +.TP +.BI \-\-chdir= pathrun +Change directory to +.IR pathrun +at startup. The default is +.I pathrun +from inn.conf. +.TP .BR \-\-cli= \fICLI-DIR\fR / |\fICLI-PATH\fR| none Listen for control command line connections on .IB CLI-DIR / site @@ -115,24 +127,17 @@ Listen for control command line connections on or .I CLI-PATH (if it doesn't). See CONTROLLING INNDUCT, below. -This option may be essential, if -.I pathrun -or -.I site -is too long, as there is a fairly short limit on the paths to AF_UNIX +Note that there is a fairly short limit on the paths to AF_UNIX sockets. If specified as .IR CLI-DIR \fB/\fR, the directory will be created with mode 700 if necessary. The default is -.IB pathrun /innduct/ -which means to create that directory and listen on +.B innduct/ +which means to create that directory in +.I pathrun +and listen on .RB \fIpathrun\fR /innduct/ \fIsite\fR. .TP -.BI \-\-port= PORT -Connect to port -.I PORT -at the remote site rather than to the NNTP port (119). -.TP .BI \-\-help Just print a brief usage message and list of the options to stdout. .SH TUNING OPTIONS @@ -328,8 +333,8 @@ corrupted; you just won't see some of the article stats. .LP innduct listens on an AF_UNIX socket, and provides a command-line interface which can be used to trigger various events and for -debugging. innduct listens on -.IB pathrun /innduct/ site +debugging. innduct listens (by default on +.IR pathrun \fB/innduct/\fR site ) and when connected reads and writes lines (with unix line endings). The cli can most easily be accessed with a program like .I netcat-openbsd @@ -431,6 +436,10 @@ two ascii-art diagrams in innduct.c for details of the protocol.) Do not mess with the feedfile and other associated files, other than as explained here: .IX Header "FILES" +.IP \fIpathrun\fR +.IX Item "default directory" +Default current working directory for innduct, and also default +parent directory for the command line socket. .IP \fIpathoutgoing\fR/\fIsite\fR .IX Item "default feedfile" Default