mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
units: order networkd after sysctl
This way networkd will correctly and race-freely inherit the default settings applied by sysctl. Suggested in issue #468.
This commit is contained in:
parent
3964118f5a
commit
d2d1e36bee
@ -12,7 +12,7 @@ ConditionCapability=CAP_NET_ADMIN
|
|||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
# dbus.service can be dropped once on kdbus, and systemd-udevd.service can be
|
# dbus.service can be dropped once on kdbus, and systemd-udevd.service can be
|
||||||
# dropped once tuntap is moved to netlink
|
# 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
|
Before=network.target multi-user.target shutdown.target
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
Wants=network.target
|
Wants=network.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user