summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2012-03-09 18:03:41 -0800
committerGeoff Levand <geoff@infradead.org>2012-03-09 18:03:41 -0800
commite7a5571a6399da5634a7614d05d2254faae612d8 (patch)
tree322dc193faf8b56a8f36ff0d7a5ab56fae37b40f /utils
parentd292846e5b1fe546ca1f7389b1ccd295c922a8c5 (diff)
downloadtalos-petitboot-e7a5571a6399da5634a7614d05d2254faae612d8.tar.gz
talos-petitboot-e7a5571a6399da5634a7614d05d2254faae612d8.zip
Add logrotate.conf
Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile.am3
-rw-r--r--utils/logrotate.conf7
2 files changed, 9 insertions, 1 deletions
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
+}
OpenPOWER on IntegriCloud