From: Geoff Levand Date: Sat, 10 Mar 2012 02:03:41 +0000 (-0800) Subject: Add logrotate.conf X-Git-Tag: v1.0.0~781 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=e7a5571a6399da5634a7614d05d2254faae612d8;hp=d292846e5b1fe546ca1f7389b1ccd295c922a8c5 Add logrotate.conf Signed-off-by: Geoff Levand --- diff --git a/utils/Makefile.am b/utils/Makefile.am index b62a962..c269508 100644 --- a/utils/Makefile.am +++ b/utils/Makefile.am @@ -29,6 +29,7 @@ pb_event_SOURCES = pb-event.c dist_pkgdata_DATA = \ 99-petitboot.rules \ - kboot.conf.sample + kboot.conf.sample \ + logrotate.conf MAINTAINERCLEANFILES = Makefile.in diff --git a/utils/logrotate.conf b/utils/logrotate.conf new file mode 100644 index 0000000..affe52f --- /dev/null +++ b/utils/logrotate.conf @@ -0,0 +1,7 @@ +/var/log/petitboot/*.log +{ + weekly + rotate 3 + compress + missingok +}