diff options
author | Jonathan Bauer | 2017-07-20 14:32:22 +0200 |
---|---|---|
committer | Jonathan Bauer | 2017-07-20 14:32:22 +0200 |
commit | efef0ed6c5acf572a6a388b29c33f27278803a80 (patch) | |
tree | d38c17e046ca2983dd7a387481f525c42f61006d /core/modules/lightdm | |
parent | [lightdm] lightdm reborn (diff) | |
download | mltk-efef0ed6c5acf572a6a388b29c33f27278803a80.tar.gz mltk-efef0ed6c5acf572a6a388b29c33f27278803a80.tar.xz mltk-efef0ed6c5acf572a6a388b29c33f27278803a80.zip |
[lightdm] filtered REQUIRED_DIR list and systemd service
Diffstat (limited to 'core/modules/lightdm')
-rw-r--r-- | core/modules/lightdm/data/etc/systemd/system/display-manager.service | 11 | ||||
-rw-r--r-- | core/modules/lightdm/data/etc/systemd/system/lightdm.service | 11 | ||||
-rw-r--r-- | core/modules/lightdm/module.conf | 6 |
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 " |