update yavdr-xorg files
This commit is contained in:
12
roles/yavdr-xorg/templates/systemd/user/tmux.service.j2
Normal file
12
roles/yavdr-xorg/templates/systemd/user/tmux.service.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Start tmux in detached session
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=-%h/.session-env
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/tmux new-session -s use-session -d
|
||||
ExecStop=/usr/bin/tmux kill-session -t %u
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user