summaryrefslogtreecommitdiff
path: root/www-servers/lighttpd/files/lighttpd.logrotate-r1
blob: a364680035b2b2a9b08b594f52877b8fa5aef7d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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
}