From b8d498e44e7f24f48edfd14dde82fbc7309f838e Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Wed, 6 Apr 2011 00:20:04 +0000 Subject: [PATCH] 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 --- build/rpm/httpd.logrotate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/rpm/httpd.logrotate b/build/rpm/httpd.logrotate index dd0ce1b9a96..1a03e85ec0d 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 } -- 2.47.2