X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/e23e8de61b333dcb79d38efc3953b3ee74d40648..12edf8f6c10bec811e24362d1c8ce879a297ddb0:/systemd/user/tmux.service?ds=inline diff --git a/systemd/user/tmux.service b/systemd/user/tmux.service new file mode 100644 index 0000000..3396682 --- /dev/null +++ b/systemd/user/tmux.service @@ -0,0 +1,12 @@ +[Unit] +Description=Start tmux server + +[Service] +Type=forking +Restart=on-failure +ExecStart=/usr/bin/tmux -f %h/.config/tmux.conf start-server +ExecReload=/usr/bin/tmux source-file $XDG_CONFIG_HOME/tmux.conf +ExecStop=/usr/bin/tmux kill-server + +[Install] +WantedBy=default.target