From a62e1a9dfcf16d3f86dd4085690bec3bc65b8043 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 27 Jun 2015 14:25:11 +0200 Subject: system/rtorrent@.service: Adding the adding of TMUX_TMPDIR if not created yet. --- system/rtorrent@.service | 1 + 1 file changed, 1 insertion(+) (limited to 'system') 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 -- cgit v1.2.3-70-g09d2