summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/lighttpd/lighttpd.logrotate.d
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/lighttpd/lighttpd.logrotate.d')
-rw-r--r--abs/core-testing/lighttpd/lighttpd.logrotate.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/abs/core-testing/lighttpd/lighttpd.logrotate.d b/abs/core-testing/lighttpd/lighttpd.logrotate.d
new file mode 100644
index 0000000..15cacc9
--- /dev/null
+++ b/abs/core-testing/lighttpd/lighttpd.logrotate.d
@@ -0,0 +1,5 @@
+/var/log/lighttpd/*log {
+ postrotate
+ /bin/kill -HUP `cat /var/run/lighttpd/lighttpd.pid 2>/dev/null` 2> /dev/null || true
+ endscript
+}