]> git.ozlabs.org Git - petitboot/commitdiff
Add logrotate.conf
authorGeoff Levand <geoff@infradead.org>
Sat, 10 Mar 2012 02:03:41 +0000 (18:03 -0800)
committerGeoff Levand <geoff@infradead.org>
Sat, 10 Mar 2012 02:03:41 +0000 (18:03 -0800)
Signed-off-by: Geoff Levand <geoff@infradead.org>
utils/Makefile.am
utils/logrotate.conf [new file with mode: 0644]

index b62a962f28848ac8840cf92d66c4fa419157d170..c26950894fedfa8ec6b505c4bee1bdb3c6d3f56e 100644 (file)
@@ -29,6 +29,7 @@ pb_event_SOURCES = pb-event.c
 
 dist_pkgdata_DATA = \
        99-petitboot.rules \
 
 dist_pkgdata_DATA = \
        99-petitboot.rules \
-       kboot.conf.sample
+       kboot.conf.sample \
+       logrotate.conf
 
 MAINTAINERCLEANFILES = Makefile.in
 
 MAINTAINERCLEANFILES = Makefile.in
diff --git a/utils/logrotate.conf b/utils/logrotate.conf
new file mode 100644 (file)
index 0000000..affe52f
--- /dev/null
@@ -0,0 +1,7 @@
+/var/log/petitboot/*.log
+{
+       weekly
+       rotate 3
+       compress
+       missingok
+}