From 7ad9c1df84ff9657ff55f94ea5acf546f59dbf69 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 27 Jun 2015 14:32:51 +0200 Subject: user/tmux.service: Adding creation of TMUX_TMPDIR, if not created yet. --- user/tmux.service | 1 + 1 file changed, 1 insertion(+) (limited to 'user') diff --git a/user/tmux.service b/user/tmux.service index 089e759..1143af5 100644 --- a/user/tmux.service +++ b/user/tmux.service @@ -7,6 +7,7 @@ ConditionFileIsExecutable=/usr/bin/tmux Type=forking KillMode=control-group Environment=TMUX_TMPDIR=/run/user/%U/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 -- cgit v1.2.3