Group :: Graphical desktop/Other
RPM: lightdm
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: lightdm-1.30.0-alt-04-systemd.patch
Download
Download
data/Makefile.am | 3 +++
data/lightdm.service | 17 +++++++++++++++++
2 files changed, 20 insertions(+)
diff --git a/data/Makefile.am b/data/Makefile.am
index 11450af1..70e404db 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -55,3 +55,6 @@ dist_x11_SCRIPTS = Xgreeter.lightdm
controldir = $(sysconfdir)/control.d/facilities
control_SCRIPTS = lightdm-greeter-hide-users
control_SCRIPTS += lightdm-login-unknown
+
+unitdir = /lib/systemd/system
+unit_DATA = lightdm.service
diff --git a/data/lightdm.service b/data/lightdm.service
new file mode 100644
index 00000000..e7f56bb7
--- /dev/null
+++ b/data/lightdm.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Light Display Manager
+Documentation=man:lightdm(1)
+Conflicts=getty@tty1.service plymouth-quit.service
+Conflicts=xdm.service gdm.service kdm.service lxdm.service slim.service sddm.service
+After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
+
+[Service]
+ExecStart=/usr/sbin/lightdm
+Restart=always
+IgnoreSIGPIPE=no
+BusName=org.freedesktop.DisplayManager
+LimitMEMLOCK=infinity
+
+[Install]
+Alias=display-manager.service
+WantedBy=graphical.target