diff options
-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 +} |