systemd: use systemd to start tmux server

This commit is contained in:
Vincent Bernat 2020-01-29 05:45:38 +01:00
parent 2463736fdc
commit 95dd95e4ce
4 changed files with 9 additions and 1 deletions

7
systemd/tmux.service Normal file
View file

@ -0,0 +1,7 @@
[Unit]
Description=tmux session
[Service]
RemainAfterExit=yes
ExecStart=/usr/bin/tmux start-server
ExecStop=/usr/bin/tmux kill-server