From 5074cb4d039583e5a46717f1c8dfeabca597acf0 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Thu, 7 Apr 2011 22:51:31 +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/branches/2.2.x@1090055 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