Commit 94ec2b11 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/branches/2.2.x@1090055 13f79535-47bb-0310-9956-ffa450edef68
parent cb03b017
Loading
Loading
Loading
Loading
+1 −1
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
}