summaryrefslogtreecommitdiffstats
path: root/core/modules/lightdm
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/lightdm')
-rw-r--r--core/modules/lightdm/data/etc/systemd/system/display-manager.service11
-rw-r--r--core/modules/lightdm/data/etc/systemd/system/lightdm.service11
-rw-r--r--core/modules/lightdm/module.conf6
3 files changed, 27 insertions, 1 deletions
diff --git a/core/modules/lightdm/data/etc/systemd/system/display-manager.service b/core/modules/lightdm/data/etc/systemd/system/display-manager.service
new file mode 100644
index 00000000..c40c40ca
--- /dev/null
+++ b/core/modules/lightdm/data/etc/systemd/system/display-manager.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=LightDM Display Manager
+Requires=dev-tty7.device
+After=dev-tty7.device systemd-user-sessions.service
+
+[Service]
+ExecStart=/usr/sbin/lightdm
+Restart=always
+
+[Install]
+WantedBy=graphical.target
diff --git a/core/modules/lightdm/data/etc/systemd/system/lightdm.service b/core/modules/lightdm/data/etc/systemd/system/lightdm.service
new file mode 100644
index 00000000..c40c40ca
--- /dev/null
+++ b/core/modules/lightdm/data/etc/systemd/system/lightdm.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=LightDM Display Manager
+Requires=dev-tty7.device
+After=dev-tty7.device systemd-user-sessions.service
+
+[Service]
+ExecStart=/usr/sbin/lightdm
+Restart=always
+
+[Install]
+WantedBy=graphical.target
diff --git a/core/modules/lightdm/module.conf b/core/modules/lightdm/module.conf
index 0c30d85e..351219aa 100644
--- a/core/modules/lightdm/module.conf
+++ b/core/modules/lightdm/module.conf
@@ -1,8 +1,12 @@
#!/bin/bash
REQUIRED_BINARIES="
lightdm
+ lightdm-session
"
REQUIRED_LIBRARIES=""
REQUIRED_DIRECTORIES="
- /
+ /etc/dbus-1
+ /etc/lightdm
+ /etc/pam.d
+ /usr/lib
"