Overlay/www-servers/lighttpd/files/lighttpd.logrotate-r1

17 lines
392 B
Plaintext
Raw Normal View History

2016-10-17 11:08:57 +03:00
# $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
}