freebsd-ports/www/apache22/files/patch-docs__conf__extra__httpd-mpm.conf.in
Andrey A. Chernov 9a38bebc6f 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.
2013-01-02 02:12:16 +00:00

11 lines
345 B
Text

--- 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>