From 9635835426ac7e0da36bd08386de962dce1900e4 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 27 Jun 2015 14:31:46 +0200 Subject: user/rtorrent.service: Creating TMUX_TMPDIR if not created yet. --- user/rtorrent.service | 1 + 1 file changed, 1 insertion(+) (limited to 'user/rtorrent.service') 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 -- cgit v1.2.3-70-g09d2