diff options
author | Geoff Levand <geoff@infradead.org> | 2012-03-09 18:03:41 -0800 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2012-03-09 18:03:41 -0800 |
commit | e7a5571a6399da5634a7614d05d2254faae612d8 (patch) | |
tree | 322dc193faf8b56a8f36ff0d7a5ab56fae37b40f | |
parent | d292846e5b1fe546ca1f7389b1ccd295c922a8c5 (diff) | |
download | talos-petitboot-e7a5571a6399da5634a7614d05d2254faae612d8.tar.gz talos-petitboot-e7a5571a6399da5634a7614d05d2254faae612d8.zip |
Add logrotate.conf
Signed-off-by: Geoff Levand <geoff@infradead.org>
-rw-r--r-- | utils/Makefile.am | 3 | ||||
-rw-r--r-- | utils/logrotate.conf | 7 |
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 +} |