xserver service: wait for systemd-logind

This seems the right thing to do, and most likely has fixed the race condition
described at https://github.com/NixOS/nixpkgs/issues/12132#issuecomment-171284532
This commit is contained in:
Nikolay Amiantov 2016-01-13 17:16:51 +03:00
parent 4be51c84d5
commit b292e19fbd

View File

@ -502,7 +502,7 @@ in
systemd.services.display-manager =
{ description = "X11 Server";
after = [ "systemd-udev-settle.service" "local-fs.target" "acpid.service" ];
after = [ "systemd-udev-settle.service" "local-fs.target" "acpid.service" "systemd-logind.service" ];
restartIfChanged = false;