systemd-user/user/tmux.service

13 lines
212 B
SYSTEMD
Raw Normal View History

2014-07-06 11:17:51 +00:00
[Unit]
Description=Tmux Server
[Service]
Type=forking
RemainAfterExit=yes
ExecStart=/usr/bin/tmux new-session -d -s %u
ExecStop=/usr/bin/tmux kill-session -t %u
Restart=Always
[Install]
WantedBy=default.target