Try to fix /var/run error.

This commit is contained in:
Jeff Huang 2015-04-10 14:01:50 +00:00
parent 4345b2e253
commit 6adf703f95
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
pkgname=apache
pkgver=2.4.12
pkgrel=1
pkgrel=2
pkgdesc='A high performance Unix-based HTTP server'
arch=('x86_64')
url='http://www.apache.org/dist/httpd'
@ -28,8 +28,8 @@ source=(http://www.apache.org/dist/httpd/httpd-${pkgver}.tar.bz2{,.asc}
httpd-tmpfile.conf)
md5sums=('b8dc8367a57a8d548a9b4ce16d264a13'
'SKIP'
'6382331e9700ed9e8cc78ea51887b537'
'9404bc261cffce7ad88850f0569e9067'
'13dbaaf949c5bc36cfcf5718b95cb020'
'a53ea863aab5714e39ebc8bbce6218ca'
'3494dece165bda4f207135e53655a9ec'
'e5894af20fee1d64fdaba35c2a10be9d')

View File

@ -16,7 +16,7 @@
cgidir: /srv/http/cgi-bin
includedir: /usr/include/httpd
localstatedir: /var
runtimedir: /var/run/httpd
runtimedir: /run/httpd
logfiledir: /var/log/httpd
proxycachedir: /var/cache/httpd
</Layout>

View File

@ -1,6 +1,6 @@
/var/log/httpd/*log {
missingok
postrotate
/bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true
/bin/kill -HUP `cat /run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true
endscript
}