summaryrefslogtreecommitdiff
path: root/network/thttpd/thttpd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'network/thttpd/thttpd.logrotate')
-rw-r--r--network/thttpd/thttpd.logrotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/network/thttpd/thttpd.logrotate b/network/thttpd/thttpd.logrotate
new file mode 100644
index 0000000000..3c1cf98bea
--- /dev/null
+++ b/network/thttpd/thttpd.logrotate
@@ -0,0 +1,12 @@
+/var/log/thttpd.log {
+ daily
+ rotate 5
+ compress
+ delaycompress
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ /etc/rc.d/rc.thttpd restart
+ endscript
+}