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