2013-01-10 19:16:29 +01:00
|
|
|
$NetBSD: patch-examples_logrotate-default,v 1.2 2013/01/10 18:16:29 wiz Exp $
|
2012-03-06 05:53:24 +01:00
|
|
|
|
|
|
|
Add pkgsrc paths compatibility.
|
|
|
|
|
|
|
|
--- examples/logrotate-default.orig 2011-08-31 12:39:04.000000000 +0000
|
|
|
|
+++ examples/logrotate-default
|
|
|
|
@@ -14,22 +14,7 @@ dateext
|
|
|
|
# uncomment this if you want your log files compressed
|
|
|
|
#compress
|
|
|
|
|
|
|
|
-# RPM packages drop log rotation information into this directory
|
|
|
|
-include /etc/logrotate.d
|
|
|
|
-
|
|
|
|
-# no packages own wtmp and btmp -- we'll rotate them here
|
|
|
|
-/var/log/wtmp {
|
|
|
|
- monthly
|
|
|
|
- create 0664 root utmp
|
|
|
|
- minsize 1M
|
|
|
|
- rotate 1
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-/var/log/btmp {
|
|
|
|
- missingok
|
|
|
|
- monthly
|
|
|
|
- create 0600 root utmp
|
|
|
|
- rotate 1
|
|
|
|
-}
|
|
|
|
+# Packages drop log rotation information into this directory
|
2013-01-10 19:16:29 +01:00
|
|
|
+include @PKG_SYSCONFDIR@/logrotate.d
|
2012-03-06 05:53:24 +01:00
|
|
|
|
|
|
|
# system-specific logs may be also be configured here.
|