summaryrefslogtreecommitdiffstats
path: root/apache/httpd.logrotate
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2009-09-14 15:07:33 +0200
committerFlorian Pritz <bluewind@xssn.at>2009-09-14 15:07:33 +0200
commit2207bb74c2df04db6f1de8c0ac9514376e3c77ce (patch)
tree50e297ef0c773453ca3f01de215d8742055a9371 /apache/httpd.logrotate
parent39468d96a8c172d9cd03ef23f4caeb7ebbd29a42 (diff)
parentc9b1a0d949601931ddf95860777089db6e37a8fa (diff)
downloadaur-packages-2207bb74c2df04db6f1de8c0ac9514376e3c77ce.tar.gz
aur-packages-2207bb74c2df04db6f1de8c0ac9514376e3c77ce.tar.xz
Merge branch 'master' of ssh://karif/~flo/git/aur
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
+}