aboutsummaryrefslogtreecommitdiffstats
path: root/user/monitoring.service
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-07-26 14:37:01 +0200
committerDavid Runge <dave@sleepmap.de>2015-07-26 14:37:01 +0200
commit9a7c5f9bade8c5a7c0de953d4f7a9a3378ffe4a6 (patch)
tree9f4f6b4a97361b1e243ae10dd2f0763d5f0d85d8 /user/monitoring.service
parentaf1c8e988aa91391a5906f64a6137d44b3de237d (diff)
downloaduenv-9a7c5f9bade8c5a7c0de953d4f7a9a3378ffe4a6.tar.gz
uenv-9a7c5f9bade8c5a7c0de953d4f7a9a3378ffe4a6.tar.bz2
uenv-9a7c5f9bade8c5a7c0de953d4f7a9a3378ffe4a6.tar.xz
uenv-9a7c5f9bade8c5a7c0de953d4f7a9a3378ffe4a6.zip
user/{irssi,monitoring,rtorrent,tmux,weechat}.service: Changing TMUX_TMPDIR to use the %t variable instead of the longer path including %U.
Diffstat (limited to 'user/monitoring.service')
-rw-r--r--user/monitoring.service2
1 files changed, 1 insertions, 1 deletions
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