summaryrefslogtreecommitdiff
path: root/extra/apache/httpd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'extra/apache/httpd.logrotate')
-rw-r--r--extra/apache/httpd.logrotate6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/apache/httpd.logrotate b/extra/apache/httpd.logrotate
new file mode 100644
index 000000000..a723d20d2
--- /dev/null
+++ b/extra/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
+}