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