Browse Source

add bash to command

#146
rootzoll 6 years ago
parent
commit
afd49243e7
  1. 2
      home.admin/50torrentHDD.sh

2
home.admin/50torrentHDD.sh

@ -25,7 +25,7 @@ name="torrent"
targetDir="/mnt/hdd/torrent" targetDir="/mnt/hdd/torrent"
targetSize=$size targetSize=$size
maxTimeoutLoops=100000 maxTimeoutLoops=100000
command="sudo lftp -c \"torrent -O ${targetDir} /home/admin/assets/${torrent}.torrent; bye\"" command="bash -c 'sudo lftp -c \"torrent -O ${targetDir} /home/admin/assets/${torrent}.torrent; bye\"'"
# starting session if needed # starting session if needed
echo "checking if ${name} has a running screen session" echo "checking if ${name} has a running screen session"

Loading…
Cancel
Save