From f7210bd855369cbcc364dd7ab585c4a40fe108e3 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Fri, 27 Apr 2012 16:56:26 +0100 Subject: [PATCH] use systemctl from logrotate (#221073) Resolves: rhbz#221073 --- httpd.logrotate | 2 +- httpd.spec | 5 ++++- 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 - 2.4.2-5 +- use systemctl from logrotate (#221073) + * Fri Apr 27 2012 Joe Orton - 2.4.2-4 - pull from upstream: * use TLS close_notify alert for dummy_connection (r1326980+)