]> granicus.if.org Git - apache/commitdiff
Backport 1363829:
authorGraham Leggett <minfrin@apache.org>
Sat, 21 Jul 2012 13:30:56 +0000 (13:30 +0000)
committerGraham Leggett <minfrin@apache.org>
Sat, 21 Jul 2012 13:30:56 +0000 (13:30 +0000)
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

build/rpm/httpd.init

index 909aeeb5e24606e915d695ee1c868a495d0b701a..c8c675965320a3568f293aac782ed883be7a102d 100755 (executable)
@@ -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