32 lines
804 B
Plaintext
32 lines
804 B
Plaintext
$NetBSD: patch-examples_logrotate-default,v 1.3 2015/03/11 21:34:16 nils Exp $
|
|
|
|
Add pkgsrc paths compatibility.
|
|
|
|
--- examples/logrotate-default.orig 2014-10-16 11:12:35.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
|
|
+include @PKG_SYSCONFDIR@/logrotate.d
|
|
|
|
# system-specific logs may be also be configured here.
|