While here, made logrotate configuration consistent between rpm and deb. This closes #323 issue on GitHub.
15 lines
267 B
Plaintext
15 lines
267 B
Plaintext
/var/log/unit/*.log {
|
|
daily
|
|
missingok
|
|
rotate 7
|
|
compress
|
|
delaycompress
|
|
nocreate
|
|
notifempty
|
|
postrotate
|
|
if [ -f /var/run/unit/unit.pid ]; then
|
|
/bin/kill -SIGUSR1 `cat /var/run/unit/unit.pid`
|
|
fi
|
|
endscript
|
|
}
|