SHA256
1
0
forked from pool/logrotate
logrotate/logrotate-var-lib-misc.patch

21 lines
621 B
Diff
Raw Normal View History

--- config.h
+++ config.h 2016/11/12 21:04:31
@@ -43,5 +43,5 @@
#endif
#ifndef STATEFILE
-#define STATEFILE "/var/lib/logrotate.status"
+#define STATEFILE "/var/lib/misc/logrotate.status"
#endif
--- logrotate.8
+++ logrotate.8 2016/11/12 21:00:05
@@ -65,7 +65,7 @@
\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/var/lib/misc/logrotate.status\fR.
.TP
\fB\-\-usage\fR