From 48854dbefcf10fec53787ea16a73ae09190d3fa9 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Fri, 20 Jul 2012 15:15:41 +0000 Subject: [PATCH] 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 --- build/rpm/httpd.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.2