summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/tdebase/debian/tdm.service
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-09-20 05:08:25 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-09-20 05:08:25 +0200
commit55eba1f800c4e92d2359ce052e677f2bb36a4ed5 (patch)
treeab0d98615130a85caeb2266634554a27a5d64a7e /ubuntu/maverick/tdebase/debian/tdm.service
parent0c183905de60d9f4b26d475581adef4349442835 (diff)
downloadtde-packaging-55eba1f800c4e92d2359ce052e677f2bb36a4ed5.tar.gz
tde-packaging-55eba1f800c4e92d2359ce052e677f2bb36a4ed5.zip
Rename tdm-trinity.service on Ubuntu to match name of tdm binary
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/maverick/tdebase/debian/tdm.service')
-rw-r--r--ubuntu/maverick/tdebase/debian/tdm.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/ubuntu/maverick/tdebase/debian/tdm.service b/ubuntu/maverick/tdebase/debian/tdm.service
new file mode 100644
index 000000000..349823a9f
--- /dev/null
+++ b/ubuntu/maverick/tdebase/debian/tdm.service
@@ -0,0 +1,12 @@
+[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
+
+[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