You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2012/07/20 17:15:41 UTC
svn commit: r1363829 - /httpd/httpd/trunk/build/rpm/httpd.init
Author: minfrin
Date: Fri Jul 20 15:15:41 2012
New Revision: 1363829
URL: http://svn.apache.org/viewvc?rev=1363829&view=rev
Log:
RPM packaging: The PID file goes in /var/run in the RPM layout.
Modified:
httpd/httpd/trunk/build/rpm/httpd.init
Modified: httpd/httpd/trunk/build/rpm/httpd.init
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/build/rpm/httpd.init?rev=1363829&r1=1363828&r2=1363829&view=diff
==============================================================================
--- httpd/httpd/trunk/build/rpm/httpd.init (original)
+++ httpd/httpd/trunk/build/rpm/httpd.init Fri Jul 20 15:15:41 2012
@@ -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