don't block on service try-restart in posttrans scriptlet

This commit is contained in:
Joe Orton 2018-07-16 17:02:14 +01:00
parent 7a7c76fbe0
commit 23fb452dae

View File

@ -556,7 +556,7 @@ exit 0
%posttrans %posttrans
test -f /etc/sysconfig/httpd-disable-posttrans || \ test -f /etc/sysconfig/httpd-disable-posttrans || \
/bin/systemctl try-restart httpd.service htcacheclean.service >/dev/null 2>&1 || : /bin/systemctl try-restart --no-block httpd.service htcacheclean.service >/dev/null 2>&1 || :
%check %check
# Check the built modules are all PIC # Check the built modules are all PIC
@ -729,6 +729,7 @@ exit $rv
%changelog %changelog
* Mon Jul 16 2018 Joe Orton <jorton@redhat.com> - 2.4.33-10 * Mon Jul 16 2018 Joe Orton <jorton@redhat.com> - 2.4.33-10
- don't block on service try-restart in posttrans scriptlet
- add Lua-based /server-status example page to docs - add Lua-based /server-status example page to docs
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.33-9 * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.33-9