Packages: added logrotate configuration for Debian packages.

While here, made logrotate configuration consistent between rpm and deb.

This closes #323 issue on GitHub.
This commit is contained in:
Andrei Belov
2019-09-25 15:28:20 +03:00
parent 702ca2b853
commit 3644883aa8
2 changed files with 19 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
/var/log/unit/*.log {
daily
missingok
rotate 7
compress
delaycompress
nocreate
notifempty
postrotate