add logrotate
This commit is contained in:
parent
eb20e93e29
commit
969b259bf6
2 changed files with 8 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -130,3 +130,4 @@ install:
|
|||
done
|
||||
# misc
|
||||
install -Dm644 misc/50-default.conf $(DESTDIR)$(LIBDIR)/sysctl.d/50-default.conf
|
||||
install -Dm644 misc/dinit.logrotate $(DESTDIR)$(SYSCONFDIR)/logrotate.d/dinit
|
||||
|
|
7
misc/dinit.logrotate
Normal file
7
misc/dinit.logrotate
Normal file
|
@ -0,0 +1,7 @@
|
|||
/var/log/dinit/*.log {
|
||||
compress
|
||||
rotate 4
|
||||
weekly
|
||||
missingok
|
||||
notifempty
|
||||
}
|
Loading…
Reference in a new issue