aboutsummaryrefslogtreecommitdiff
path: root/tmux/systemd/user/tmux.service
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/systemd/user/tmux.service')
-rw-r--r--tmux/systemd/user/tmux.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/tmux/systemd/user/tmux.service b/tmux/systemd/user/tmux.service
new file mode 100644
index 00000000..404f1888
--- /dev/null
+++ b/tmux/systemd/user/tmux.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=tmux server
+Documentation=man:tmux(1)
+
+[Service]
+ExecStart=/bin/sh -lc 'exec /usr/bin/tmux start-server \\; set-option -s exit-empty off'
+KillMode=mixed
+Type=forking
+
+[Install]
+WantedBy=default.target