summaryrefslogtreecommitdiff
blob: ef9dcc082e06642e1a87442616224b48488c4983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $Id$
# lighttpd logrotate script for Gentoo

/var/log/lighttpd/*.log {
        daily
        missingok
		copytruncate
        rotate 7
        compress
        notifempty
        sharedscripts
        postrotate
           if [ -f /var/run/lighttpd.pid ]; then \
                /etc/init.d/lighttpd reload > /dev/null 2>&1 || true ; \
           fi;
        endscript
}