execute systemctl reload as result of apachectl graceful

This commit is contained in:
Jan Kaluza 2013-04-18 07:41:11 +02:00
parent 110beb1317
commit 9de9bf8dd6
2 changed files with 5 additions and 2 deletions

View File

@ -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)

View File

@ -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 <jkaluza@redhat.com> - 2.4.4-5
- execute systemctl reload as result of apachectl graceful
* Tue Apr 16 2013 Jan Kaluza <jkaluza@redhat.com> - 2.4.4-4
- fix service file to not send SIGTERM after ExecStop (#906321, #912288)