aboutsummaryrefslogtreecommitdiffstats
path: root/system/rtorrent@.service
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-06-27 14:25:11 +0200
committerDavid Runge <dave@sleepmap.de>2015-06-27 14:25:11 +0200
commita62e1a9dfcf16d3f86dd4085690bec3bc65b8043 (patch)
tree19d45fc6adc0f671829b9cc9c031c96bd80a695a /system/rtorrent@.service
parent86516af3b7aa46e2b3303643acdba463f42ead71 (diff)
downloaduenv-a62e1a9dfcf16d3f86dd4085690bec3bc65b8043.tar.gz
uenv-a62e1a9dfcf16d3f86dd4085690bec3bc65b8043.tar.bz2
uenv-a62e1a9dfcf16d3f86dd4085690bec3bc65b8043.tar.xz
uenv-a62e1a9dfcf16d3f86dd4085690bec3bc65b8043.zip
system/rtorrent@.service: Adding the adding of TMUX_TMPDIR if not created yet.
Diffstat (limited to 'system/rtorrent@.service')
-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