From e7a5571a6399da5634a7614d05d2254faae612d8 Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Fri, 9 Mar 2012 18:03:41 -0800 Subject: [PATCH 1/1] Add logrotate.conf Signed-off-by: Geoff Levand --- utils/Makefile.am | 3 ++- utils/logrotate.conf | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 utils/logrotate.conf 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 +} -- 2.39.2