summaryrefslogtreecommitdiffstats
path: root/apache/httpd.logrotate
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2009-09-12 20:40:28 +0200
committerFlorian Pritz <bluewind@xssn.at>2009-09-12 20:40:28 +0200
commitc9b1a0d949601931ddf95860777089db6e37a8fa (patch)
tree7747b506a999d286e19fa090c45f511f3632ce97 /apache/httpd.logrotate
parentba8d9cff5bcbf35c3ab20609d3c21c0ec5d23c35 (diff)
downloadaur-packages-c9b1a0d949601931ddf95860777089db6e37a8fa.tar.gz
aur-packages-c9b1a0d949601931ddf95860777089db6e37a8fa.tar.xz
add apache (mpm worker)
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'apache/httpd.logrotate')
-rw-r--r--apache/httpd.logrotate5
1 files changed, 5 insertions, 0 deletions
diff --git a/apache/httpd.logrotate b/apache/httpd.logrotate
new file mode 100644
index 0000000..3f9298c
--- /dev/null
+++ b/apache/httpd.logrotate
@@ -0,0 +1,5 @@
+/var/log/httpd/*log {
+ postrotate
+ /bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true
+ endscript
+}