summaryrefslogtreecommitdiff
path: root/network/thttpd/thttpd.logrotate
diff options
context:
space:
mode:
authorAntonio Hernández Blas <hba.nihilismus@gmail.com>2011-10-23 20:17:46 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-10-23 20:17:46 -0200
commit60b413b172340038ef538d20196e662d06ab3778 (patch)
tree7b4a90e32c6d239bc721d5de9afe3423c7036f11 /network/thttpd/thttpd.logrotate
parent227bd3493f37901930ffb14c1ec45c34080e8830 (diff)
downloadslackbuilds-60b413b172340038ef538d20196e662d06ab3778.tar.gz
network/thttpd: Added (the tiny/turbo/throttling HTTP server)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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
+}