diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2009-07-27 06:39:43 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2009-07-27 06:39:43 +0000 |
commit | c66164b230fc33d7a903bbd1da6f803c2cadd0e2 (patch) | |
tree | 5b2c145554a597182448ac64167be76fd904d392 /main/lighttpd/lighttpd.logrotate | |
parent | aad5f530b5a45159e9420d654173345006bde998 (diff) | |
parent | db7bf56b641e8ebb35d6f24ca8bca0b3b9e45c19 (diff) | |
download | aports-c66164b230fc33d7a903bbd1da6f803c2cadd0e2.tar.bz2 aports-c66164b230fc33d7a903bbd1da6f803c2cadd0e2.tar.xz |
Merge branch 'master' of git://dev.alpinelinux.org/aports
Diffstat (limited to 'main/lighttpd/lighttpd.logrotate')
-rw-r--r-- | main/lighttpd/lighttpd.logrotate | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/main/lighttpd/lighttpd.logrotate b/main/lighttpd/lighttpd.logrotate new file mode 100644 index 0000000000..76f0ef3ff5 --- /dev/null +++ b/main/lighttpd/lighttpd.logrotate @@ -0,0 +1,17 @@ +# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.logrotate,v 1.2 2006/05/30 19:49:29 bangert Exp $ +# 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 +} |