From: Graham Leggett Date: Sat, 21 Jul 2012 13:30:56 +0000 (+0000) Subject: Backport 1363829: X-Git-Tag: 2.4.3~256 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=404ad54aa360dab9e75aa5fe1ce2cb03f7c10aac;p=apache Backport 1363829: RPM packaging: The PID file goes in /var/run in the RPM layout. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364084 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/rpm/httpd.init b/build/rpm/httpd.init index 909aeeb5e2..c8c6759653 100755 --- a/build/rpm/httpd.init +++ b/build/rpm/httpd.init @@ -22,7 +22,7 @@ # description: The Apache HTTP Server is an efficient and extensible \ # server implementing the current HTTP standards. # processname: httpd -# pidfile: /var/log/httpd/httpd.pid +# pidfile: /var/run/httpd.pid # config: /etc/sysconfig/httpd # ### BEGIN INIT INFO @@ -58,7 +58,7 @@ INITLOG_ARGS="" # work correctly with a thread-based MPM; notably PHP will refuse to start. httpd=${HTTPD-/usr/sbin/httpd} -pidfile=${PIDFILE-/var/log/httpd/${prog}.pid} +pidfile=${PIDFILE-/var/run/${prog}.pid} lockfile=${LOCKFILE-/var/lock/subsys/${prog}} RETVAL=0