summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Orton <jorton@redhat.com>2012-04-27 16:56:26 +0100
committerJoe Orton <jorton@redhat.com>2012-04-27 16:56:26 +0100
commitf7210bd855369cbcc364dd7ab585c4a40fe108e3 (patch)
tree9e5458a58572f2dd5838ba3a550a31068499ffcd
parentc389c417e6a060497cc5e36793bc3b02941b122f (diff)
downloadhttpd-f7210bd855369cbcc364dd7ab585c4a40fe108e3.tar.gz
httpd-f7210bd855369cbcc364dd7ab585c4a40fe108e3.tar.xz
httpd-f7210bd855369cbcc364dd7ab585c4a40fe108e3.zip
use systemctl from logrotate (#221073)
Resolves: rhbz#221073
-rw-r--r--httpd.logrotate2
-rw-r--r--httpd.spec5
2 files changed, 5 insertions, 2 deletions
diff --git a/httpd.logrotate b/httpd.logrotate
index 794b9d7..28c9730 100644
--- a/httpd.logrotate
+++ b/httpd.logrotate
@@ -4,6 +4,6 @@
sharedscripts
delaycompress
postrotate
- /sbin/service httpd reload > /dev/null 2>/dev/null || true
+ /bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
endscript
}
diff --git a/httpd.spec b/httpd.spec
index 446afd2..3bef854 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -8,7 +8,7 @@
Summary: Apache HTTP Server
Name: httpd
Version: 2.4.2
-Release: 4%{?dist}
+Release: 5%{?dist}
URL: http://httpd.apache.org/
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
Source1: index.html
@@ -562,6 +562,9 @@ rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/rpm/macros.httpd
%changelog
+* Fri Apr 27 2012 Joe Orton <jorton@redhat.com> - 2.4.2-5
+- use systemctl from logrotate (#221073)
+
* Fri Apr 27 2012 Joe Orton <jorton@redhat.com> - 2.4.2-4
- pull from upstream:
* use TLS close_notify alert for dummy_connection (r1326980+)