On my settings.json I have the following:
Code: Select all
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/media/hdd1/finish/scripts/done.sh",
Code: Select all
#!/bin/bash
name="${TR_TORRENT_NAME}"
echo "$name is done" >> /media/hdd1/finish/torrents/done
Code: Select all
[2018-07-15 09:31:20.165] **torrentname** Calling script "/media/hdd1/finish/scripts/done.sh" (torrent.c:2118)
Code: Select all
-rwxrwxrwx 1 root root 265 jul 15 09:16 done.sh*
It should work right? Any idea why it doesn't? If I call the script manually it echos " is done" to the file, so the script itself should work...
Anybody has had this problem before?
EDIT: I'm on Transmission 2.92 and using the daemon