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.
This commit is contained in:
Riku Voipio
2013-07-22 17:04:54 +03:00
committed by Paul Eggleton
parent 02adda55bb
commit 16fad8e619
2 changed files with 3 additions and 1 deletions
@@ -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