- Fix unbound.service to use After=network-online.target

This commit is contained in:
Paul Wouters 2021-04-13 11:33:09 -04:00
parent 30c1e39469
commit 2b640c85f8
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[Unit] [Unit]
Description=Unbound recursive Domain Name Server Description=Unbound recursive Domain Name Server
After=network.target After=network-online.target
After=unbound-keygen.service After=unbound-keygen.service
Wants=unbound-keygen.service Wants=unbound-keygen.service
Wants=unbound-anchor.timer Wants=unbound-anchor.timer

View File

@ -37,7 +37,7 @@
Summary: Validating, recursive, and caching DNS(SEC) resolver Summary: Validating, recursive, and caching DNS(SEC) resolver
Name: unbound Name: unbound
Version: 1.13.1 Version: 1.13.1
Release: 4%{?extra_version:.%{extra_version}}%{?dist} Release: 5%{?extra_version:.%{extra_version}}%{?dist}
License: BSD License: BSD
Url: https://nlnetlabs.nl/projects/unbound/ Url: https://nlnetlabs.nl/projects/unbound/
Source: https://nlnetlabs.nl/downloads/%{name}/%{name}-%{version}%{?extra_version}.tar.gz Source: https://nlnetlabs.nl/downloads/%{name}/%{name}-%{version}%{?extra_version}.tar.gz
@ -462,6 +462,9 @@ popd
%attr(0644,root,root) %config %{_sysconfdir}/%{name}/root.key %attr(0644,root,root) %config %{_sysconfdir}/%{name}/root.key
%changelog %changelog
* Tue Apr 13 2021 Paul Wouters <pwouters@redhat.com> - 1.13.1-5
- Fix unbound.service to use After=network-online.target
* Tue Apr 06 2021 Artem Egorenkov <aegorenk@redhat.com> - 1.13.1-4 * Tue Apr 06 2021 Artem Egorenkov <aegorenk@redhat.com> - 1.13.1-4
- Don't start unbound-anchor before unbound service if DISABLE_UNBOUND_ANCHOR - Don't start unbound-anchor before unbound service if DISABLE_UNBOUND_ANCHOR
environment variable equals to "yes" environment variable equals to "yes"