summaryrefslogtreecommitdiff
path: root/www-servers/lighttpd/files/lighttpd.logrotate
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-03-26 23:49:20 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-03-26 23:49:20 +0100
commitbba9240061dc3f8bd15bce304f0abc421024b453 (patch)
tree8dd96b420853934f26b1e90877892d10058af739 /www-servers/lighttpd/files/lighttpd.logrotate
parent33a162ec97deacfba497638836f91478fb0e9406 (diff)
downloadoverlay-bba9240061dc3f8bd15bce304f0abc421024b453.tar.gz
overlay-bba9240061dc3f8bd15bce304f0abc421024b453.tar.bz2
overlay-bba9240061dc3f8bd15bce304f0abc421024b453.zip
add patched lighttpd
Diffstat (limited to 'www-servers/lighttpd/files/lighttpd.logrotate')
-rw-r--r--www-servers/lighttpd/files/lighttpd.logrotate17
1 files changed, 17 insertions, 0 deletions
diff --git a/www-servers/lighttpd/files/lighttpd.logrotate b/www-servers/lighttpd/files/lighttpd.logrotate
new file mode 100644
index 0000000..76f0ef3
--- /dev/null
+++ b/www-servers/lighttpd/files/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
+}