17 lines
392 B
Plaintext
17 lines
392 B
Plaintext
# $Id$
|
|
# lighttpd logrotate script for Gentoo
|
|
|
|
/var/log/lighttpd/*.log {
|
|
daily
|
|
missingok
|
|
copytruncate
|
|
rotate 7
|
|
compress
|
|
notifempty
|
|
sharedscripts
|
|
postrotate
|
|
test -e /run/openrc/softlevel && /etc/init.d/lighttpd reload 1>/dev/null || true
|
|
test -e /run/systemd/system && systemctl reload lighttpd.service || true
|
|
endscript
|
|
}
|