summaryrefslogtreecommitdiff
path: root/network/lighttpd/lighttpd.logrotate
diff options
context:
space:
mode:
authorDaniel de Kok <danieldk@pobox.com>2010-05-11 15:01:30 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 15:01:30 +0200
commit6a2e7cb0c583c0ad634890fc732589f747ac400f (patch)
treea3f1f20b7f67c6fc4527ad9e460c494710c7082d /network/lighttpd/lighttpd.logrotate
parenta46972cf527a97b75c670ace2ed30f7eca85af6e (diff)
downloadslackbuilds-6a2e7cb0c583c0ad634890fc732589f747ac400f.tar.gz
network/lighttpd: Initial import
Diffstat (limited to 'network/lighttpd/lighttpd.logrotate')
-rw-r--r--network/lighttpd/lighttpd.logrotate14
1 files changed, 14 insertions, 0 deletions
diff --git a/network/lighttpd/lighttpd.logrotate b/network/lighttpd/lighttpd.logrotate
new file mode 100644
index 0000000000..598650a1f2
--- /dev/null
+++ b/network/lighttpd/lighttpd.logrotate
@@ -0,0 +1,14 @@
+/var/log/lighttpd/*.log {
+ daily
+ missingok
+ copytruncate
+ rotate 7
+ compress
+ notifempty
+ sharedscripts
+ postrotate
+ if [ -x /etc/rc.d/rc.lighttpd -a -f /var/run/lighttpd.pid ]; then
+ /etc/rc.d/rc.lighttpd reload
+ fi
+ endscript
+}