Skip to content

Commit 216eeb7

Browse files
committed
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
1 parent f801981 commit 216eeb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/rpm/httpd.logrotate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
notifempty
44
sharedscripts
55
postrotate
6-
/bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
6+
/sbin/service httpd graceful 2> /dev/null || true
77
endscript
88
}

0 commit comments

Comments
 (0)