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