X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-modules-load.service.in;h=739729e6924f06373dfa19290c5f33b181f1a817;hb=6699c857a20378e1fd2a33e3e306a96404e7f83d;hp=7a94040fae5db9f09dab3fb421470f30aee8f6e9;hpb=449ddb2d23a63ca4c8cd70d13a070fba87c1fb30;p=elogind.git diff --git a/units/systemd-modules-load.service.in b/units/systemd-modules-load.service.in index 7a94040fa..739729e69 100644 --- a/units/systemd-modules-load.service.in +++ b/units/systemd-modules-load.service.in @@ -9,12 +9,11 @@ Description=Load Kernel Modules DefaultDependencies=no Conflicts=shutdown.target -Before=shutdown.target +After=systemd-readahead-collect.service systemd-readahead-replay.service +Before=sysinit.target shutdown.target +ConditionDirectoryNotEmpty=/etc/modules-load.d [Service] Type=oneshot RemainAfterExit=yes ExecStart=@rootlibexecdir@/systemd-modules-load - -[Install] -WantedBy=sysinit.target