summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-07-23 20:58:33 +0200
committerSven Eden <yamakuzure@gmx.net>2017-03-14 10:07:14 +0100
commit4437fbbb78fb89d6f17345eaf19d082d3783d1b1 (patch)
tree372b9a2e482dba1325140a24048d5797fc0b2519 /units
parent6366373e0c7aea30dd988af637325e00da9f9639 (diff)
units: order networkd after sysctl
This way networkd will correctly and race-freely inherit the default settings applied by sysctl. Suggested in issue #468.
Diffstat (limited to 'units')
-rw-r--r--units/systemd-networkd.service.m4.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-networkd.service.m4.in b/units/systemd-networkd.service.m4.in
index 64d9130c2..35be713ad 100644
--- a/units/systemd-networkd.service.m4.in
+++ b/units/systemd-networkd.service.m4.in
@@ -12,7 +12,7 @@ ConditionCapability=CAP_NET_ADMIN
DefaultDependencies=no
# dbus.service can be dropped once on kdbus, and systemd-udevd.service can be
# dropped once tuntap is moved to netlink
-After=systemd-udevd.service dbus.service network-pre.target systemd-sysusers.service
+After=systemd-udevd.service dbus.service network-pre.target systemd-sysusers.service systemd-sysctl.service
Before=network.target multi-user.target shutdown.target
Conflicts=shutdown.target
Wants=network.target