From efef0ed6c5acf572a6a388b29c33f27278803a80 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 20 Jul 2017 14:32:22 +0200 Subject: [lightdm] filtered REQUIRED_DIR list and systemd service --- .../lightdm/data/etc/systemd/system/display-manager.service | 11 +++++++++++ core/modules/lightdm/data/etc/systemd/system/lightdm.service | 11 +++++++++++ core/modules/lightdm/module.conf | 6 +++++- 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 core/modules/lightdm/data/etc/systemd/system/display-manager.service create mode 100644 core/modules/lightdm/data/etc/systemd/system/lightdm.service (limited to 'core/modules/lightdm') 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 " -- cgit v1.2.3-55-g7522