yavdr-ansible/roles/yavdr-xorg/templates/systemd/user/tmux.service.j2

13 lines
253 B
Plaintext
Raw Permalink Normal View History

2017-06-21 10:14:35 +02:00
[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