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