summaryrefslogtreecommitdiffstats
path: root/lightdm.service
blob: 80ebf93519c0ff41cd9306306093423a5912ed9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[Unit]
Description=Light Display Manager
Documentation=man:lightdm(1)

# Replaces getty.
Conflicts=getty@tty1.service
After=getty@tty1.service

# Replaces plymouth-quit since it quits plymouth on its own.
Conflicts=plymouth-quit.service
After=plymouth-quit.service

# We need all the dependencies of the services we are replacing.
# Pulled from getty@.service and plymouth-quit.service (except
# for plymouth-quit-wait.service since it waits until plymouth
# is quit, which we do).
After=rc-local.service plymouth-start.service systemd-user-sessions.service livesys-late.service

# We need DBus to be present.
Requires=dbus.service

# LighDM takes responsibility for stopping plymouth, so if it fails
# for any reason, make sure plymouth still stops.
OnFailure=plymouth-quit.service

[Service]
ExecStart=/usr/sbin/lightdm
Restart=always
IgnoreSIGPIPE=no
BusName=org.freedesktop.DisplayManager

[Install]
Alias=display-manager.service