aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/rtorrent@.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/rtorrent@.service b/system/rtorrent@.service
index 71d35a7..e6fd17c 100644
--- a/system/rtorrent@.service
+++ b/system/rtorrent@.service
@@ -7,6 +7,7 @@ Type=forking
KillMode=control-group
User=%i
EnvironmentFile=/etc/default/rtorrent@.conf
+ExecStartPre=/usr/bin/mkdir -p $TMUX_TMPDIR
ExecStartPre=/usr/bin/mkdir -p /home/%i/Downloads/rtorrent/tmp
ExecStartPre=/usr/bin/mkdir -p /home/%i/Downloads/rtorrent/session
ExecStart=/usr/bin/tmux -L rt new-session -s rt -n rtorrent -d rtorrent