From f3017496a27bbf0498ae33c2ba61a9de76b0c131 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 26 Jun 2017 15:19:40 +0200 Subject: user/tmux.service: Moving TMUX_TMPDIR to XDG_RUNTIME_DIR, so no extra folder has to be created (leads to uncanny fails with tmux > 2.2). --- user/tmux.service | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3-70-g09d2