unit: run network-generator before starting udevd

Otherwise, .link files generated by the service may not be loaded by
udevd.
This commit is contained in:
Yu Watanabe 2021-12-14 13:12:41 +09:00
parent 05c1b1c95e
commit 85e8650827

View file

@ -11,7 +11,7 @@
Description=Generate network units from Kernel command line
Documentation=man:systemd-network-generator.service(8)
DefaultDependencies=no
Before=network-pre.target
Before=network-pre.target systemd-udevd.service
Wants=network-pre.target
[Service]