From: Graham Leggett Date: Wed, 6 Apr 2011 00:20:04 +0000 (+0000) Subject: rpm spec file: Use "service httpd graceful" rather than a hard coded HUP X-Git-Tag: 2.3.12~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8d498e44e7f24f48edfd14dde82fbc7309f838e;p=thirdparty%2Fapache%2Fhttpd.git 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 --- 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 }