diff options
author | aneejit1 <aneejit1@gmail.com> | 2020-08-04 00:14:39 +0000 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-01-17 18:36:12 +0100 |
commit | 87ed5c26dcf411281367bf905186aaac4772628a (patch) | |
tree | 92961796fb52bbd0d651dd85035023ea7a18204f /tdm/tdm.service.ubuntu.cmake | |
parent | 0a08f71496165ad4e33ee0f5073b7ff3c73fab0b (diff) | |
download | tdebase-87ed5c26dcf411281367bf905186aaac4772628a.tar.gz tdebase-87ed5c26dcf411281367bf905186aaac4772628a.zip |
Create a systemd service file for tdm
Signed-off-by: aneejit1 <aneejit1@gmail.com>
(cherry picked from commit 5f47d4f48195c6b74fb450ffed6ac15e8ab462d6)
Diffstat (limited to 'tdm/tdm.service.ubuntu.cmake')
-rw-r--r-- | tdm/tdm.service.ubuntu.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tdm/tdm.service.ubuntu.cmake b/tdm/tdm.service.ubuntu.cmake new file mode 100644 index 000000000..9222898c4 --- /dev/null +++ b/tdm/tdm.service.ubuntu.cmake @@ -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=@BIN_INSTALL_DIR@/tdm +Restart=always |