29 lines
875 B
Groff
29 lines
875 B
Groff
$NetBSD: patch-logrotate.8,v 1.3 2013/07/28 11:21:23 obache Exp $
|
|
|
|
Add pkgsrc paths compatibility
|
|
|
|
--- logrotate.8.orig 2013-06-10 12:02:36.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
|
|
@@ -523,10 +523,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
|