From: Graham Leggett Date: Fri, 20 Jul 2012 15:15:41 +0000 (+0000) Subject: RPM packaging: The PID file goes in /var/run in the RPM layout. X-Git-Tag: 2.5.0-alpha~6614 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48854dbefcf10fec53787ea16a73ae09190d3fa9;p=thirdparty%2Fapache%2Fhttpd.git RPM packaging: The PID file goes in /var/run in the RPM layout. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1363829 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/rpm/httpd.init b/build/rpm/httpd.init index 909aeeb5e24..c8c67596532 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