blob: 5aecd4ecf258e2757beef942c52fc6f272d7d64b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[Unit]
Description=lightdm display manager
After=systemd-user-session.service
[Service]
Type=dbus
BusName=org.freedesktop.DisplayManager
# A temporary workaround for not having system image post-hooks yet
ExecStartPre=/usr/bin/gdk-pixbuf-query-loaders --update-cache
# We should do this during the install, but currently the user only
# exists in the target system and not the build environment due to
# the staging fillers being primitive.
ExecStartPre=/bin/mkdir -p /var/run/lightdm
ExecStartPre=/bin/chown lightdm /var/run/lightdm
ExecStart=/usr/sbin/lightdm
|