aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/apache2/files
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2013-07-22 17:04:54 +0300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-07-26 10:06:01 +0100
commit16fad8e6191fddd372e0791e0b6f3d541ce3b738 (patch)
treea1c1a590c20e35e0ebbb54d54174ad72afa93c83 /meta-webserver/recipes-httpd/apache2/files
parent02adda55bbb151b540ae00d57618ae6ac2b348f7 (diff)
downloadmeta-openembedded-contrib-16fad8e6191fddd372e0791e0b6f3d541ce3b738.tar.gz
apache2: move pidfile to run
pidile was stored in /var/apache2/log which is saved over boots. This might prevent startup of apache2 on boots. Move it to /run where pidfiles in general belong.
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/files')
-rwxr-xr-xmeta-webserver/recipes-httpd/apache2/files/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/files/init b/meta-webserver/recipes-httpd/apache2/files/init
index 346dc0d52f..a1adbd74f9 100755
--- a/meta-webserver/recipes-httpd/apache2/files/init
+++ b/meta-webserver/recipes-httpd/apache2/files/init
@@ -14,7 +14,7 @@ NAME=apache2
PATH=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/sbin/httpd
SUEXEC=/usr/lib/apache/suexec
-PIDFILE=/var/apache2/logs/httpd.pid
+PIDFILE=/run/httpd.pid
CONF=/etc/apache2/httpd.conf
APACHECTL=/usr/sbin/apachectl