summaryrefslogtreecommitdiff
path: root/testing/apache/httpd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'testing/apache/httpd.logrotate')
-rw-r--r--testing/apache/httpd.logrotate6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/apache/httpd.logrotate b/testing/apache/httpd.logrotate
new file mode 100644
index 000000000..a723d20d2
--- /dev/null
+++ b/testing/apache/httpd.logrotate
@@ -0,0 +1,6 @@
+/var/log/httpd/*log {
+ missingok
+ postrotate
+ /bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true
+ endscript
+}