Skip to content

Commit

Permalink
lightdm: Order service correctly after startup-tags.service
Browse files Browse the repository at this point in the history
Without specifying the ordering in regards to `startup-tags.service` it
is not guaranteed, that `/node/tags/` has been populated yet, and we
have observed a non-starting LightDM on desktop systems in practice. So,
order the service unit correctly.
  • Loading branch information
pmenzel committed Feb 11, 2020
1 parent 4eb8049 commit 499986d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lightdm.be0
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ EOF
cat <<-UNIT > ${D}/etc/systemd/system/lightdm.service
[Unit]
Description=LightDM
Wants=nvidia.service
After=nvidia.service
Wants=nvidia.service startup-tags.service
After=nvidia.service startup-tags.service
ConditionPathExists=/node/tags/lightdm

[Service]
Expand Down

0 comments on commit 499986d

Please sign in to comment.