summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-07-23 20:58:33 +0200
committerTom Gundersen <teg@jklm.no>2015-07-23 21:04:58 +0200
commitd2d1e36beec8587f43c93fb0323a41d410ed82e6 (patch)
tree242653f656ccf357185452789738867f1a842d5d /units
parentMerge pull request #604 from heftig/master (diff)
downloadsystemd-d2d1e36beec8587f43c93fb0323a41d410ed82e6.tar.xz
systemd-d2d1e36beec8587f43c93fb0323a41d410ed82e6.zip
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 64d9130c24..35be713ade 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