summaryrefslogtreecommitdiffstats
path: root/dilos/tdebase/debian/tdm.service.2
diff options
context:
space:
mode:
authorDenis Kozadaev <[email protected]>2020-01-30 22:13:12 +0300
committerDenis Kozadaev <[email protected]>2020-02-27 22:05:30 +0300
commit042414011edfd405230b65e77e2b14870852760f (patch)
tree877c1cde549aa493d60dd3ad7923d1ad7d6d6cee /dilos/tdebase/debian/tdm.service.2
parentc2cf8f6ec78fcb445212965de1339391c31fbfae (diff)
downloadtde-packaging-042414011edfd405230b65e77e2b14870852760f.tar.gz
tde-packaging-042414011edfd405230b65e77e2b14870852760f.zip
DilOS: tdebase build pack
Signed-off-by: Denis Kozadaev <[email protected]>
Diffstat (limited to 'dilos/tdebase/debian/tdm.service.2')
-rw-r--r--dilos/tdebase/debian/tdm.service.212
1 files changed, 12 insertions, 0 deletions
diff --git a/dilos/tdebase/debian/tdm.service.2 b/dilos/tdebase/debian/tdm.service.2
new file mode 100644
index 000000000..349823a9f
--- /dev/null
+++ b/dilos/tdebase/debian/tdm.service.2
@@ -0,0 +1,12 @@
+[Unit]
+Description=Trinity Display Manager
+Documentation=man:tdm-trinity(1)
[email protected] plymouth-quit.service
+After=systemd-user-sessions.service [email protected] plymouth-quit.service
+
+[Service]
+# temporary safety check until all DMs are converted to correct
+# display-manager.service symlink handling
+ExecStartPre=/bin/sh -c '[ "$(basename $(cat /etc/X11/default-display-manager 2>/dev/null))" = "tdm" ]'
+ExecStart=/opt/trinity/bin/tdm
+Restart=always