summaryrefslogtreecommitdiffstats
path: root/units/systemd-resolved.service.in
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-01-02 20:07:11 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-01-02 20:07:15 +0100
commit6e6b59ed00332e4d8061b2f0f6bc0945d4fced64 (patch)
tree483b8f231495163c974edf1c58e63cbd3226f3f4 /units/systemd-resolved.service.in
parentresolve: do not listen to IPv6 when disabled by sysctl (diff)
downloadsystemd-6e6b59ed00332e4d8061b2f0f6bc0945d4fced64.tar.xz
systemd-6e6b59ed00332e4d8061b2f0f6bc0945d4fced64.zip
unit: order systemd-resolved after systemd-sysctl
Otherwise, IPv6 enable/disable setting may be changed after resolved is started.
Diffstat (limited to 'units/systemd-resolved.service.in')
-rw-r--r--units/systemd-resolved.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-resolved.service.in b/units/systemd-resolved.service.in
index 736f36848c..820aecfef6 100644
--- a/units/systemd-resolved.service.in
+++ b/units/systemd-resolved.service.in
@@ -15,7 +15,7 @@ Documentation=https://www.freedesktop.org/wiki/Software/systemd/writing-network-
Documentation=https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
DefaultDependencies=no
-After=systemd-sysusers.service
+After=systemd-sysctl.service systemd-sysusers.service
Before=sysinit.target network.target nss-lookup.target shutdown.target initrd-switch-root.target
Conflicts=shutdown.target initrd-switch-root.target
Wants=nss-lookup.target