summaryrefslogtreecommitdiff
path: root/network/thttpd/thttpd.logrotate
diff options
context:
space:
mode:
authorAntonio Hernández Blas <hba.nihilismus@gmail.com>2010-05-13 01:00:23 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 01:00:23 +0200
commit31aa3ec3e0153775e449bcdfeaba83b156746c93 (patch)
treebe8ee615ec4a3195c01c409df29f6eb1edfab7d0 /network/thttpd/thttpd.logrotate
parent70696b7acf8911f58e6bce1d69c694c3bb233336 (diff)
downloadslackbuilds-31aa3ec3e0153775e449bcdfeaba83b156746c93.tar.gz
network/thttpd: Added to 13.0 repository
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
+}