diff options
author | David Runge <dave@sleepmap.de> | 2015-06-27 14:32:51 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-06-27 14:32:51 +0200 |
commit | 7ad9c1df84ff9657ff55f94ea5acf546f59dbf69 (patch) | |
tree | 4d232d129efbf8fd708ae60adf9561124a38b6a0 /user/tmux.service | |
parent | 9635835426ac7e0da36bd08386de962dce1900e4 (diff) | |
download | uenv-7ad9c1df84ff9657ff55f94ea5acf546f59dbf69.tar.gz uenv-7ad9c1df84ff9657ff55f94ea5acf546f59dbf69.tar.bz2 uenv-7ad9c1df84ff9657ff55f94ea5acf546f59dbf69.tar.xz uenv-7ad9c1df84ff9657ff55f94ea5acf546f59dbf69.zip |
user/tmux.service: Adding creation of TMUX_TMPDIR, if not created yet.
Diffstat (limited to 'user/tmux.service')
-rw-r--r-- | user/tmux.service | 1 |
1 files changed, 1 insertions, 0 deletions
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 |