Commit 216eeb7d authored by Graham Leggett's avatar Graham Leggett
Browse files

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
parent f801981a
Loading
Loading
Loading
Loading
+1 −1
Changes for build/rpm/httpd.logrotate: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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
}