Add tmux systemd user service

This commit is contained in:
hektor committed 2022-05-11 11:22:43 +02:00
1 parent 8ef636b986
commit 7ca492c053
1 file changed
+10
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Start tmux in detached session
[Service]
Type=forking
ExecStart=/usr/bin/tmux new-session -s %u -d
ExecStop=/usr/bin/tmux kill-session -t %u
[Install]
WantedBy=default.target