aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--user/tmux.service4
1 files changed, 1 insertions, 3 deletions
diff --git a/user/tmux.service b/user/tmux.service
index fe0fe73..2522b1b 100644
--- a/user/tmux.service
+++ b/user/tmux.service
@@ -5,9 +5,7 @@ ConditionFileIsExecutable=/usr/bin/tmux
[Service]
Type=forking
-KillMode=control-group
-Environment=TMUX_TMPDIR=%t/tmux
-ExecStartPre=/usr/bin/mkdir -p $TMUX_TMPDIR
+Environment=TMUX_TMPDIR=%t
ExecStart=/usr/bin/tmux new-session -s user -d
ExecStop=/usr/bin/tmux kill-session -t user