[syslog-ng]syslog-ng 1.6.5: manpage patch
Jose Pedro Oliveira
syslog-ng@lists.balabit.hu
Sun, 30 Jan 2005 03:06:28 +0000
This is a multi-part message in MIME format.
--------------090600030203030901070507
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Balazs,
This patch adds the missing command line options
to the syslog-ng.8 manpage.
The patch also applies to syslog-ng 1.9.x
(he default syslog-ng.conf location still has
to be corrected).
Regards,
jpo
--
José Pedro Oliveira
mailto: jpo@di.uminho.pt * http://gsd.di.uminho.pt/~jpo
--------------090600030203030901070507
Content-Type: text/plain;
name="syslog-ng-1.6.5-syslog-ng.8.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="syslog-ng-1.6.5-syslog-ng.8.patch"
diff -ruN syslog-ng-1.6.5-orig/doc/syslog-ng.8 syslog-ng-1.6.5/doc/syslog-ng.8
--- syslog-ng-1.6.5-orig/doc/syslog-ng.8 1999-07-10 16:58:32.000000000 +0100
+++ syslog-ng-1.6.5/doc/syslog-ng.8 2005-01-30 00:05:48.906523000 +0000
@@ -7,7 +7,7 @@
.B syslog-ng
[
-.B \-dvV
+.B \-dFsvV
] [
.B \-f
<\fIconfig-filename\fP>
@@ -17,6 +17,12 @@
] [
.B \-C
<\fIchroot-dir\fP>
+] [
+.B \-u
+<\fIuser\fP>
+] [
+.B \-g
+<\fIgroup\fP>
]
.SH DESCRIPTION
.PP
@@ -64,38 +70,72 @@
\fBsyslog-ng\fP will also save all the current values as a "checkpoint".
.SH OPTIONS
.TP
-.B \-d
+.B \-C \0<directory>, \-\-chroot=<directory>
+Chroot to directory.
+.TP
+.B \-d, \-\-debug
Set "debug mode". Prints out various messages to aid in debugging and stops
it from becoming a daemon. To activate debugging in the yacc parser, either
use this option twice or combine with \fB-v\fP.
.TP
-.B \-f \0<filename>
+.B \-F, \-\-foreground
+Don't fork into background.
+.TP
+.B \-f \0<filename>, \-\-cfgfile=<filename>
Instead of reading the normal \fB/etc/syslog-ng/syslog-ng.conf\fP file for
configuration information, use the filename given instead.
.TP
-.B \-p \0<filename>
+.B \-g \0<group>, \-\-group=<group>
+Switch to group.
+.TP
+.B \-p \0<filename>, \-\-pidfile=<filename>
Write the current PID information to the specified file.
+Defaults to \fB/var/run/syslog-ng.pid\fP.
+.TP
+.B \-s, \-\-syntax\-only
+Only read and parse the configuration file. See also the option \fB-f\fP.
.TP
-.B \-v
+.B \-u \0<user>, \-\-group=<user>
+Switch to user.
+.TP
+.B \-v, \-\-verbose
Enable verbose mode. Process will not become a daemon. Prints out
fewer messages, compared to \fB-d\fP.
.TP
-.B \-V
+.B \-V, \-\-version
Print the version number.
.SH DIAGNOSTICS
It is expected that \fBsyslog-ng\fP will run as root, however, if not running
on a priviledged port of it it owned its own log directories, etc, it might
run as a non-root user.
.SH SEE ALSO
-logger(1), syslog(3), services(5), syslog.conf(5), syslog-ng.conf(5)
+.BR syslog-ng.conf (5),
+.BR logger (1),
+.BR syslog (2),
+.BR syslog (3),
+.BR services (5),
+.BR syslog.conf (5),
+.BR klogd (8),
+.BR syslogd (8),
+.BR sysklogd (8)
.SH FILES
-/etc/syslog-ng/syslog-ng.conf
-/etc/syslog-ng/filename.sha1
-/etc/syslog-ng/filename.H0
-/etc/syslog-ng/filename.salt
-.br
-/var/run/syslog.pid
-.br
+.TP
+.I /etc/syslog-ng/syslog-ng.conf
+Configuration file for
+.BR syslog\-ng .
+See
+.BR syslog\-ng.conf (5)
+for more information.
+.TP
+.I /etc/syslog-ng/filename.sha1
+.TP
+.I /etc/syslog-ng/filename.H0
+.TP
+.I /etc/syslog-ng/filename.salt
+.TP
+.I /var/run/syslog-ng.pid
+The file containing the process id of
+.BR syslog-ng .
.SH BUGS
.PP
If you find any, please send email to me at bazsi@balabit.hu
--------------090600030203030901070507--