mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 11:19:17 +02:00
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:
commit
a28d7aa55d
2 changed files with 13 additions and 1 deletions
|
|
@ -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
8
scripts/bootlog
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/var/log/boot.log
|
||||
{
|
||||
missingok
|
||||
daily
|
||||
copytruncate
|
||||
rotate 7
|
||||
notifempty
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue