summaryrefslogtreecommitdiffstats
path: root/build/rpm
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2011-04-06 02:20:04 +0200
committerGraham Leggett <minfrin@apache.org>2011-04-06 02:20:04 +0200
commitb8d498e44e7f24f48edfd14dde82fbc7309f838e (patch)
treecc2ed447f86e8682a2d172fa2eb28c902fa9671a /build/rpm
parentRebuild typo correction. (diff)
downloadapache2-b8d498e44e7f24f48edfd14dde82fbc7309f838e.tar.xz
apache2-b8d498e44e7f24f48edfd14dde82fbc7309f838e.zip
rpm spec file: Use "service httpd graceful" rather than a hard coded HUP
to rotate logs, so that we honour the end user's choice of pid file. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089284 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/rpm')
-rw-r--r--build/rpm/httpd.logrotate2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/rpm/httpd.logrotate b/build/rpm/httpd.logrotate
index dd0ce1b9a9..1a03e85ec0 100644
--- a/build/rpm/httpd.logrotate
+++ b/build/rpm/httpd.logrotate
@@ -3,6 +3,6 @@
notifempty
sharedscripts
postrotate
- /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
+ /sbin/service httpd graceful 2> /dev/null || true
endscript
}