summaryrefslogtreecommitdiff
path: root/lightdm.service
diff options
context:
space:
mode:
Diffstat (limited to 'lightdm.service')
-rw-r--r--lightdm.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/lightdm.service b/lightdm.service
new file mode 100644
index 00000000..4b17996e
--- /dev/null
+++ b/lightdm.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=lightdm display manager
+After=systemd-user-session.service
+
+[Service]
+Type=dbus
+BusName=org.freedesktop.DisplayManager
+
+# 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=chown lightdm /var/run/lightdm
+ExecStart=/usr/sbin/lightdm
+