From 9de9bf8dd615c6220c63037d2c9c539d93bd1d5e Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Thu, 18 Apr 2013 07:41:11 +0200 Subject: [PATCH] execute systemctl reload as result of apachectl graceful --- httpd-2.4.3-apctl-systemd.patch | 2 +- httpd.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/httpd-2.4.3-apctl-systemd.patch b/httpd-2.4.3-apctl-systemd.patch index bcb57fe..5823aee 100644 --- a/httpd-2.4.3-apctl-systemd.patch +++ b/httpd-2.4.3-apctl-systemd.patch @@ -24,7 +24,7 @@ index c6ac3ea..2599386 100644 + ERROR=$? + ;; +graceful) -+ /usr/bin/systemctl restart httpd.service ++ /usr/bin/systemctl reload httpd.service + ERROR=$? + ;; +graceful-stop) diff --git a/httpd.spec b/httpd.spec index d952075..b9851a7 100644 --- a/httpd.spec +++ b/httpd.spec @@ -14,7 +14,7 @@ Summary: Apache HTTP Server Name: httpd Version: 2.4.4 -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 @@ -604,6 +604,9 @@ rm -rf $RPM_BUILD_ROOT %{_sysconfdir}/rpm/macros.httpd %changelog +* Thu Apr 18 2013 Jan Kaluza - 2.4.4-5 +- execute systemctl reload as result of apachectl graceful + * Tue Apr 16 2013 Jan Kaluza - 2.4.4-4 - fix service file to not send SIGTERM after ExecStop (#906321, #912288)