diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-03 22:56:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-03 22:56:40 +0900 |
commit | 11394aecd1f906fee2ebd2b90412aeba4651fbff (patch) | |
tree | bcf750380e6d9fc7dbe524e16bbe2afde25dcfa0 /debian/_base/tdebase/debian/tdm.service | |
parent | d24bd898174453b586ac90f2ef7a60165fa26fde (diff) | |
download | tde-packaging-11394aec.tar.gz tde-packaging-11394aec.zip |
DEB: use _base folder for a distro instead of specific distros (squeeze
and maverick).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_base/tdebase/debian/tdm.service')
-rw-r--r-- | debian/_base/tdebase/debian/tdm.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/_base/tdebase/debian/tdm.service b/debian/_base/tdebase/debian/tdm.service new file mode 100644 index 000000000..349823a9f --- /dev/null +++ b/debian/_base/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 |