summarylogtreecommitdiffstats
path: root/httpd.logrotate
diff options
context:
space:
mode:
authorJanusz Lewandowski2015-06-24 11:44:16 +0200
committerJanusz Lewandowski2015-06-24 11:44:16 +0200
commit751b13a01cc68f8edc16519ae19f37bfa6d97b12 (patch)
tree542fcf23fb130da1c93d6c140febdd7445caa511 /httpd.logrotate
downloadaur-751b13a01cc68f8edc16519ae19f37bfa6d97b12.tar.gz
Apache 2.5 from Git, with all systemd features enabled.
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
+}