aboutsummaryrefslogtreecommitdiffstats
path: root/user/rtorrent.service
diff options
context:
space:
mode:
Diffstat (limited to 'user/rtorrent.service')
-rw-r--r--user/rtorrent.service1
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