21 lines
689 B
Desktop File
21 lines
689 B
Desktop File
[Unit]
|
|
Description=Light Display Manager
|
|
Documentation=man:lightdm(1)
|
|
After=systemd-user-sessions.service
|
|
|
|
# replaces plymouth-quit since lightdm quits plymouth on its own
|
|
Conflicts=plymouth-quit.service
|
|
After=plymouth-quit.service
|
|
|
|
# lightdm takes responsibility for stopping plymouth, so if it fails
|
|
# for any reason, make sure plymouth still stops
|
|
OnFailure=plymouth-quit.service
|
|
|
|
[Service]
|
|
# temporary safety check until all DMs are converted to correct
|
|
# display-manager.service symlink handling
|
|
ExecStartPre=/bin/sh -c '[ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/lightdm" ]'
|
|
ExecStart=/usr/sbin/lightdm
|
|
Restart=always
|
|
BusName=org.freedesktop.DisplayManager
|