From 9a7c5f9bade8c5a7c0de953d4f7a9a3378ffe4a6 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 26 Jul 2015 14:37:01 +0200 Subject: user/{irssi,monitoring,rtorrent,tmux,weechat}.service: Changing TMUX_TMPDIR to use the %t variable instead of the longer path including %U. --- user/monitoring.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user/monitoring.service') diff --git a/user/monitoring.service b/user/monitoring.service index fb9fa1b..8bb3909 100644 --- a/user/monitoring.service +++ b/user/monitoring.service @@ -9,7 +9,7 @@ ConditionFileIsExecutable=/usr/bin/loginctl [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 -L mon new-session -d -s mon -n htop htop ExecStartPost=/usr/bin/tmux -L mon new-window -n glances glances -- cgit v1.2.3-54-g00ecf