]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
RPM packaging: The PID file goes in /var/run in the RPM layout.
authorGraham Leggett <minfrin@apache.org>
Fri, 20 Jul 2012 15:15:41 +0000 (15:15 +0000)
committerGraham Leggett <minfrin@apache.org>
Fri, 20 Jul 2012 15:15:41 +0000 (15:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1363829 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