summaryrefslogtreecommitdiffstats
path: root/tdm/tdm.service.debian.cmake
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-12-10 16:18:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-12-11 18:24:17 +0900
commit013b337217f10bf5f9d027757c5d4cc8fbb19988 (patch)
treee17d8b706783d501a3aa1fa500c922bec51a54c1 /tdm/tdm.service.debian.cmake
parent1f39afd8d12daf963fc0e21156b38c67b396dd9a (diff)
downloadtdebase-013b337217f10bf5f9d027757c5d4cc8fbb19988.tar.gz
tdebase-013b337217f10bf5f9d027757c5d4cc8fbb19988.zip
Fixed hanging of system on shutdown caused by conflicts between tdm and plymouth.
This resolves bug 2806. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdm/tdm.service.debian.cmake')
-rw-r--r--tdm/tdm.service.debian.cmake7
1 files changed, 5 insertions, 2 deletions
diff --git a/tdm/tdm.service.debian.cmake b/tdm/tdm.service.debian.cmake
index 9222898c4..3ba232aa1 100644
--- a/tdm/tdm.service.debian.cmake
+++ b/tdm/tdm.service.debian.cmake
@@ -1,8 +1,8 @@
[Unit]
Description=Trinity Display Manager
Documentation=man:tdm-trinity(1)
-Conflicts=getty@tty7.service plymouth-quit.service
-After=systemd-user-sessions.service getty@tty7.service plymouth-quit.service
+Conflicts=getty@tty7.service
+After=systemd-user-sessions.service getty@tty7.service plymouth-quit.service systemd-logind.service
[Service]
# temporary safety check until all DMs are converted to correct
@@ -10,3 +10,6 @@ After=systemd-user-sessions.service getty@tty7.service plymouth-quit.service
ExecStartPre=/bin/sh -c '[ "$(basename $(cat /etc/X11/default-display-manager 2>/dev/null))" = "tdm" ]'
ExecStart=@BIN_INSTALL_DIR@/tdm
Restart=always
+
+[Install]
+Alias=display-manager.service