aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sthttpd/thttpd.logrotated
diff options
context:
space:
mode:
Diffstat (limited to 'testing/sthttpd/thttpd.logrotated')
-rw-r--r--testing/sthttpd/thttpd.logrotated11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/sthttpd/thttpd.logrotated b/testing/sthttpd/thttpd.logrotated
new file mode 100644
index 00000000000..8e075fffd9d
--- /dev/null
+++ b/testing/sthttpd/thttpd.logrotated
@@ -0,0 +1,11 @@
+/var/log/thttpd/*log {
+ daily
+ rotate 5
+ compress
+ delaycompress
+ missingok
+ notifempty
+ postrotate
+ /etc/init.d/thttpd restart >/dev/null
+ endscript
+}