From: Tom Gundersen Date: Thu, 23 Jul 2015 18:58:33 +0000 (+0200) Subject: units: order networkd after sysctl X-Git-Tag: v226.4~1^2~190 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=4437fbbb78fb89d6f17345eaf19d082d3783d1b1;p=elogind.git units: order networkd after sysctl This way networkd will correctly and race-freely inherit the default settings applied by sysctl. Suggested in issue #468. --- 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