chiark / gitweb /
units: order networkd after sysctl
authorTom Gundersen <teg@jklm.no>
Thu, 23 Jul 2015 18:58:33 +0000 (20:58 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:07:14 +0000 (10:07 +0100)
This way networkd will correctly and race-freely inherit the default settings
applied by sysctl.

Suggested in issue #468.

units/systemd-networkd.service.m4.in

index 64d9130c24e3be64b0e0ca7f0b5b5a305121d3b7..35be713ade1a46fb1a34aae17b57bd862e733068 100644 (file)
@@ -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