Merge pull request #25311 from peterhoeg/f/udev-settle
display-manager: systemd-udev-settle serves no purpose, boot 10% faster
This commit is contained in:
commit
1859f129d2
@ -67,8 +67,6 @@ in
|
|||||||
|
|
||||||
systemd.services.atd = {
|
systemd.services.atd = {
|
||||||
description = "Job Execution Daemon (atd)";
|
description = "Job Execution Daemon (atd)";
|
||||||
after = [ "systemd-udev-settle.service" ];
|
|
||||||
wants = [ "systemd-udev-settle.service" ];
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
path = [ at ];
|
path = [ at ];
|
||||||
|
@ -651,8 +651,7 @@ in
|
|||||||
systemd.services.display-manager =
|
systemd.services.display-manager =
|
||||||
{ description = "X11 Server";
|
{ description = "X11 Server";
|
||||||
|
|
||||||
after = [ "systemd-udev-settle.service" "acpid.service" "systemd-logind.service" ];
|
after = [ "acpid.service" "systemd-logind.service" ];
|
||||||
wants = [ "systemd-udev-settle.service" ];
|
|
||||||
|
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
|
|
||||||
|
@ -478,6 +478,7 @@ in
|
|||||||
createImportService = pool:
|
createImportService = pool:
|
||||||
nameValuePair "zfs-import-${pool}" {
|
nameValuePair "zfs-import-${pool}" {
|
||||||
description = "Import ZFS pool \"${pool}\"";
|
description = "Import ZFS pool \"${pool}\"";
|
||||||
|
# we need systemd-udev-settle until https://github.com/zfsonlinux/zfs/pull/4943 is merged
|
||||||
requires = [ "systemd-udev-settle.service" ];
|
requires = [ "systemd-udev-settle.service" ];
|
||||||
after = [ "systemd-udev-settle.service" "systemd-modules-load.service" ];
|
after = [ "systemd-udev-settle.service" "systemd-modules-load.service" ];
|
||||||
wantedBy = (getPoolMounts pool) ++ [ "local-fs.target" ];
|
wantedBy = (getPoolMounts pool) ++ [ "local-fs.target" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user