mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 11:12:48 +01:00
unbound.service.d: add fedora-network-pre.conf
This commit is contained in:
parent
34b4ffb8ac
commit
9fdeb56762
11
etc/systemd/system/unbound.service.d/fedora-network-pre.conf
Normal file
11
etc/systemd/system/unbound.service.d/fedora-network-pre.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# This override attempts to ensure Unbound is running when network gets
|
||||||
|
# connected as opposed to starting at that time to ensure DNS functions for
|
||||||
|
# everything dependent on DNS in addition to just internet connectivity
|
||||||
|
[Unit]
|
||||||
|
After=
|
||||||
|
# Copy-pasted from Fedora (systemtl show unbound.service) except
|
||||||
|
# network-online.target is network-pre.target
|
||||||
|
After=unbound-keygen.service unbound-anchor.service systemd-journald.socket sysinit.target network-pre.target system.slice basic.target
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target network-online.target
|
Loading…
Reference in New Issue
Block a user