aboutsummaryrefslogtreecommitdiffstats
path: root/testing/thttpd/thttpd.logrotated
diff options
context:
space:
mode:
authorz3bra <willy@mailoo.org>2014-10-22 17:35:04 +0200
committerz3bra <willy@mailoo.org>2014-10-22 17:35:04 +0200
commit5b11fa3aaf8a3d8fa25fe30ea370f8a8f8dfbf3d (patch)
treef9b48f2186125990c8b20657bb63445ddcc436ba /testing/thttpd/thttpd.logrotated
parentd5babbb8ef86ae55b002de1d4383a5a684f22e29 (diff)
downloadaports-5b11fa3aaf8a3d8fa25fe30ea370f8a8f8dfbf3d.tar.bz2
aports-5b11fa3aaf8a3d8fa25fe30ea370f8a8f8dfbf3d.tar.xz
testing/thttpd: new aport
Diffstat (limited to 'testing/thttpd/thttpd.logrotated')
-rw-r--r--testing/thttpd/thttpd.logrotated6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/thttpd/thttpd.logrotated b/testing/thttpd/thttpd.logrotated
new file mode 100644
index 0000000000..cbc559fb33
--- /dev/null
+++ b/testing/thttpd/thttpd.logrotated
@@ -0,0 +1,6 @@
+/var/log/thttpd/*log {
+ missingok
+ postrotate
+ /etc/init.d/thttpd restart >/dev/null
+ endscript
+}