diff options
author | David Runge <dave@sleepmap.de> | 2017-06-26 15:19:40 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2017-06-26 15:19:40 +0200 |
commit | f3017496a27bbf0498ae33c2ba61a9de76b0c131 (patch) | |
tree | 722acad0d5bd01cf3770b2c23ffffffd5e92fa96 /user | |
parent | 6aa1a656ec03b237bf797bd2de48c8d35ad30c5d (diff) | |
download | uenv-f3017496a27bbf0498ae33c2ba61a9de76b0c131.tar.gz uenv-f3017496a27bbf0498ae33c2ba61a9de76b0c131.tar.bz2 uenv-f3017496a27bbf0498ae33c2ba61a9de76b0c131.tar.xz uenv-f3017496a27bbf0498ae33c2ba61a9de76b0c131.zip |
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).
Diffstat (limited to 'user')
-rw-r--r-- | user/tmux.service | 4 |
1 files changed, 1 insertions, 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 |