]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
unit: order systemd-resolved after systemd-sysctl 30691/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 2 Jan 2024 19:07:11 +0000 (04:07 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 2 Jan 2024 19:07:15 +0000 (04:07 +0900)
Otherwise, IPv6 enable/disable setting may be changed after resolved is
started.

units/systemd-resolved.service.in

index 736f36848ca9412f432696dab6160ca5795671bf..820aecfef6cc9072b6b1fe53aff9dbc887f644b6 100644 (file)
@@ -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