From: Graham Leggett Date: Thu, 7 Apr 2011 22:51:31 +0000 (+0000) Subject: rpm spec file: Use "service httpd graceful" rather than a hard coded HUP X-Git-Tag: 2.2.18~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5074cb4d039583e5a46717f1c8dfeabca597acf0;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/branches/2.2.x@1090055 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 }