Hi there,
I firstly only used script-torrent-done to run a script informing me by e-mail that a torrent finished. Now the script converts specific files and uploads it over the web. While converting and uploading I can't access the web client. Is this by design? And does the rest of transmission also stop doing anything?
In my opinion, transmission should execute my script in a separate thread so the website keeps responding.
transmission 2.12 is running on a debian headless server
-meilon
Does executing script-torrent-done block transmission?
Re: Does executing script-torrent-done block transmission?
It does block in 2.1x, but not in 2.2x
Re: Does executing script-torrent-done block transmission?
You can solve this NOW by surrounding your script with { } &.
For example: viewtopic.php?f=1&t=10364
For example: viewtopic.php?f=1&t=10364
Re: Does executing script-torrent-done block transmission?
Thank you both for your replies. I will update to 2.2x soon. For fixing this right now, do you mean my config entry should look like this:
Correct?
Code: Select all
"script-torrent-done-filename": "{ /srv/transmission-emails/libevent-mail.sh >> /srv/transmission-emails/output.log 2>&1} &",
Re: Does executing script-torrent-done block transmission?
Probably not. Best put the { } & inside a new script that calls the libevent-mail.sh script.meilon wrote:Thank you both for your replies. I will update to 2.2x soon. For fixing this right now, do you mean my config entry should look like this:
Correct?Code: Select all
"script-torrent-done-filename": "{ /srv/transmission-emails/libevent-mail.sh >> /srv/transmission-emails/output.log 2>&1} &",