diff options
author | David Runge <dave@sleepmap.de> | 2015-06-27 14:31:46 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-06-27 14:31:46 +0200 |
commit | 9635835426ac7e0da36bd08386de962dce1900e4 (patch) | |
tree | 5215996b1f14cf48148fbe2891b1a861ee743f11 /user | |
parent | f4bca2841a0755587336ad791fa9e958272a78f8 (diff) | |
download | uenv-9635835426ac7e0da36bd08386de962dce1900e4.tar.gz uenv-9635835426ac7e0da36bd08386de962dce1900e4.tar.bz2 uenv-9635835426ac7e0da36bd08386de962dce1900e4.tar.xz uenv-9635835426ac7e0da36bd08386de962dce1900e4.zip |
user/rtorrent.service: Creating TMUX_TMPDIR if not created yet.
Diffstat (limited to 'user')
-rw-r--r-- | user/rtorrent.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/user/rtorrent.service b/user/rtorrent.service index 1234407..4645db2 100644 --- a/user/rtorrent.service +++ b/user/rtorrent.service @@ -9,6 +9,7 @@ ConditionFileIsExecutable=/usr/bin/rtorrent Type=forking KillMode=none Environment=TMUX_TMPDIR=/run/user/%U/tmux +ExecStartPre=/usr/bin/mkdir -p $TMUX_TMPDIR ExecStartPre=/usr/bin/mkdir -p /home/%u/Downloads/rtorrent/tmp ExecStartPre=/usr/bin/mkdir -p /home/%u/Downloads/rtorrent/session ExecStart=/usr/bin/tmux -L rt new-session -s rt -n rtorrent -d rtorrent |