Skip to content

Commit

Permalink
gdm.service: Require startup-tags.service and order after it
Browse files Browse the repository at this point in the history
Sometimes, GDM starts on workstations because `/node/tags/lightdm` does
not exist yet.

Follow `lightdm.service`, and require `startup-tags.service`, and order
the unit after it.
  • Loading branch information
pmenzel committed Jun 14, 2021
1 parent 45ead26 commit 439a966
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc_systemd_units/gdm.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Unit]
Description=GDM
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 439a966

Please sign in to comment.