summaryrefslogtreecommitdiff
path: root/extra/lighttpd/lighttpd.logrotate.d
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lighttpd/lighttpd.logrotate.d')
-rw-r--r--extra/lighttpd/lighttpd.logrotate.d6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/lighttpd/lighttpd.logrotate.d b/extra/lighttpd/lighttpd.logrotate.d
new file mode 100644
index 000000000..5ff32a0c5
--- /dev/null
+++ b/extra/lighttpd/lighttpd.logrotate.d
@@ -0,0 +1,6 @@
+/var/log/lighttpd/*log {
+ missingok
+ postrotate
+ /etc/rc.d/lighttpd reload >/dev/null || true
+ endscript
+}