96a34164ed
The logrotate utility is designed to simplify the administration of log files on a system which generates a lot of log files. Logrotate allows for the automatic rotation compression, removal and mailing of log files. Logrotate can be set to handle a log file daily, weekly, monthly or when the log file gets to a certain size. Normally, logrotate runs as a daily cron job. This is the development version.
28 lines
877 B
Groff
28 lines
877 B
Groff
$NetBSD: patch-logrotate.8,v 1.1 2015/02/11 16:23:40 ahp-nils Exp $
|
|
|
|
Add pkgsrc paths compatibility
|
|
|
|
--- logrotate.8.orig 2015-02-10 18:18:39.000000000 +0000
|
|
+++ logrotate.8
|
|
@@ -59,7 +59,7 @@ and mail it to the recipient. The defaul
|
|
\fB\-s\fR, \fB\-\-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@VARBASE@/db/logrotate.status\fR.
|
|
|
|
.TP
|
|
\fB\-\-usage\fR
|
|
@@ -550,10 +550,10 @@ Log files are rotated if the current yea
|
|
.SH FILES
|
|
.PD 0
|
|
.TP 27
|
|
-\fI/var/lib/logrotate.status\fR
|
|
+\fI@VARBASE@/db/logrotate.status\fR
|
|
Default state file.
|
|
.TP 27
|
|
-\fI/etc/logrotate.conf\fR
|
|
+\fI@PKG_SYSCONFDIR@/logrotate.conf\fR
|
|
Configuration options.
|
|
|
|
.SH SEE ALSO
|