aboutsummaryrefslogtreecommitdiffstats
path: root/user/tmux.service
diff options
context:
space:
mode:
Diffstat (limited to 'user/tmux.service')
-rw-r--r--user/tmux.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/tmux.service b/user/tmux.service
index 1143af5..fe0fe73 100644
--- a/user/tmux.service
+++ b/user/tmux.service
@@ -6,7 +6,7 @@ ConditionFileIsExecutable=/usr/bin/tmux
[Service]
Type=forking
KillMode=control-group
-Environment=TMUX_TMPDIR=/run/user/%U/tmux
+Environment=TMUX_TMPDIR=%t/tmux
ExecStartPre=/usr/bin/mkdir -p $TMUX_TMPDIR
ExecStart=/usr/bin/tmux new-session -s user -d
ExecStop=/usr/bin/tmux kill-session -t user