diff options
Diffstat (limited to 'sysutils/logrotate/files/patch-logrotate.8')
-rw-r--r-- | sysutils/logrotate/files/patch-logrotate.8 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/logrotate/files/patch-logrotate.8 b/sysutils/logrotate/files/patch-logrotate.8 new file mode 100644 index 000000000000..0831d47c7261 --- /dev/null +++ b/sysutils/logrotate/files/patch-logrotate.8 @@ -0,0 +1,34 @@ +diff --git a/logrotate.8 b/logrotate.8 +index f18c522..33f9a32 100644 +--- a/logrotate.8 ++++ b/logrotate.8 +@@ -48,14 +48,14 @@ correctly. + Tells \fBlogrotate\fR which command to use when mailing logs. This + command should accept two arguments: 1) the subject of the message, and + 2) the recipient. The command must then read a message on standard input +-and mail it to the recipient. The default mail command is \fB/bin/mail ++and mail it to the recipient. The default mail command is \fB/bin/mailx + -s\fR. + + .TP + \fB-s, -\-state <statefile>\fR + Tells \fBlogrotate\fR to use an alternate state file. This is useful + if logrotate is being run as a different user for various sets of +-log files. The default state file is \fI/var/lib/logrotate.status\fR. ++log files. The default state file is \fI/var/run/logrotate.status\fR. + + .TP + \fB-\-usage\fR +@@ -473,10 +473,10 @@ Log files are rotated if the current year is not the same as the last rotation. + .SH FILES + .PD 0 + .TP 27 +-\fI/var/lib/logrotate.status\fR ++\fI/var/run/logrotate.status\fR + Default state file. + .TP 27 +-\fI/etc/logrotate.conf\fR ++\fI/usr/local/etc/logrotate.conf\fR + Configuration options. + + .SH SEE ALSO |