Merge branch 'logrotate' into 'master'

scripts: Add a logrotate file for /var/log/boot.log

Closes #31

See merge request plymouth/plymouth!76
This commit is contained in:
Hans de Goede 2019-10-13 14:47:56 +00:00
commit a28d7aa55d
2 changed files with 13 additions and 1 deletions

View file

@ -6,9 +6,13 @@ initrdscript_SCRIPTS = plymouth-update-initrd plymouth-generate-initrd plymouth-
sbinscriptsdir = $(sbindir)
sbinscripts_SCRIPTS = plymouth-set-default-theme
bootlogdir = $(sysconfdir)/logrotate.d
bootlog_DATA = bootlog
EXTRA_DIST= plymouth-update-initrd \
plymouth-generate-initrd.in \
plymouth-populate-initrd.in \
plymouth-set-default-theme.in \
plymouth-set-default-theme.in \
$(noinst_SCRIPTS) \
bootlog \
default.cfg

8
scripts/bootlog Normal file
View file

@ -0,0 +1,8 @@
/var/log/boot.log
{
missingok
daily
copytruncate
rotate 7
notifempty
}