torrent path fix

This commit is contained in:
rootzoll 2018-09-15 10:15:31 +02:00
parent b06c9d0db4
commit 99a5335bce

View File

@ -29,7 +29,7 @@ name="Torrent"
targetDir="/mnt/hdd/torrent"
targetSize=$size
sessionDir="/home/admin/.rtorrent.session/"
command="sudo rtorrent -n -d ${targetDir} -s ${sessionDir} ./home/admin/assets/${torrent}.torrent"
command="sudo rtorrent -n -d ${targetDir} -s ${sessionDir} /home/admin/assets/${torrent}.torrent"
# starting screen session if needed
echo "checking if ${name} has a running screen session"