Add tmux systemd user service
parent
8ef636b986
commit
7ca492c053
|
@ -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
|
Loading…
Reference in New Issue