diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2013-01-02 02:12:16 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2013-01-02 02:12:16 +0000 |
commit | 9a38bebc6fd78265ea52d2a1e4c99efe4bec7f48 (patch) | |
tree | 96f73f3a94163ba2b0fcd87bccfd11d4e2de99d4 /www/apache22/files | |
parent | f3adea88f87b57c6935d06cbb2cd30ec3a7a1aee (diff) |
Use
LockFile "/var/run/accept.lock"
instead of previous
LockFile "/var/log/accept.lock"
If system is crashed and rebooted, Apache refuses to start in case
/var/log/accept.lock.<pid> is found. That <pid> is almost always the same
due to minimum pid variance right after boot.
So use /var/run instead, which is cleaned on each boot.
Notes
Notes:
svn path=/head/; revision=309798
Diffstat (limited to 'www/apache22/files')
-rw-r--r-- | www/apache22/files/patch-docs__conf__extra__httpd-mpm.conf.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/apache22/files/patch-docs__conf__extra__httpd-mpm.conf.in b/www/apache22/files/patch-docs__conf__extra__httpd-mpm.conf.in new file mode 100644 index 000000000000..079cc48946bf --- /dev/null +++ b/www/apache22/files/patch-docs__conf__extra__httpd-mpm.conf.in @@ -0,0 +1,11 @@ +--- docs/conf/extra/httpd-mpm.conf.in.bak 2007-12-29 06:08:28.000000000 +0300 ++++ docs/conf/extra/httpd-mpm.conf.in 2013-01-02 05:58:13.000000000 +0400 +@@ -17,7 +17,7 @@ + # + <IfModule !mpm_winnt_module> + <IfModule !mpm_netware_module> +-LockFile "@rel_logfiledir@/accept.lock" ++LockFile "@rel_runtimedir@/accept.lock" + </IfModule> + </IfModule> + |