From 16fad8e6191fddd372e0791e0b6f3d541ce3b738 Mon Sep 17 00:00:00 2001 From: Riku Voipio Date: Mon, 22 Jul 2013 17:04:54 +0300 Subject: 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. --- meta-webserver/recipes-httpd/apache2/files/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-webserver/recipes-httpd/apache2/files') 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 -- cgit 1.2.3-korg