summaryrefslogtreecommitdiffstats
path: root/package/logrotate/logrotate.conf
diff options
context:
space:
mode:
authorWade Berrier <wberrier@gmail.com>2008-10-06 20:41:12 +0000
committerWade Berrier <wberrier@gmail.com>2008-10-06 20:41:12 +0000
commitb8508d758e8212df8e517089bccad3302966ed29 (patch)
tree0bc88b8c6ee626fb114d98a7a77962f96fbbba3a /package/logrotate/logrotate.conf
parent3916f9ef4a2c6d074f2c9b0d1d4623c8b06003f0 (diff)
downloadbuildroot-novena-b8508d758e8212df8e517089bccad3302966ed29.tar.gz
buildroot-novena-b8508d758e8212df8e517089bccad3302966ed29.zip
logrotate:
-new package
Diffstat (limited to 'package/logrotate/logrotate.conf')
-rw-r--r--package/logrotate/logrotate.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/logrotate/logrotate.conf b/package/logrotate/logrotate.conf
new file mode 100644
index 000000000..6d829dc9d
--- /dev/null
+++ b/package/logrotate/logrotate.conf
@@ -0,0 +1,14 @@
+compress
+
+include /etc/logrotate.d
+
+/var/log/messages /var/log/auth.log /var/log/user.log {
+ rotate 7
+ daily
+ delaycompress
+ missingok
+ sharedscripts
+ postrotate
+ /usr/bin/killall -HUP syslogd
+ endscript
+}