What is rutorrent doing here on download completion?

jith45

Member
May 25, 2018
960
0
16
In my
log.execute = ...

File.

Above my own /home/admin/completeNotif1.sh I see

Code:
sh -c id -u > /tmp/rutorrent-stats-12393748974c6d708d9c8a9 ; id -G >> /tmp/rutorrent-stats-12393748974c6d708d9c8a9 ; echo ~ >> /tmp/rutorrent-stats-12393748974c6d708d9c8a9 ; chmod 0644 /tmp/rutorrent-stats-12393748974c6d708d9c8a9
--- Success ---

rm /tmp/rutorrent-stats-12393748974c6d708d9c8a9
--- Success ---

sh -c '/home/admin/rtorrent/php/test.sh' stat '/home/admin/rtorrent/share/users/r/settings/885807896' '/usr/bin/stat'
--- Success ---

I recently have been getting "bad return code" occasionally on download completion. I refuse to believe it is my completeNotif1 being the cause, as it should always EXIT 0 (even if it errors).

What exactly is rutorrent doing on download completion, and what can I do to stop it?
 

dsouvik215

Member
May 25, 2018
896
0
16
in the first line rutorrent is checking the uid of the rtorrent user

the second line is removing the tmp file.

the third line is a test and stat of some files to make sure they are set correctly.
 

das329717

Member
May 25, 2018
928
0
16
What exactly is rutorrent doing on download completion, and what can I do to stop it?
No one from commands from your log hasn't relation to download completion. 3 plugins has such hooks - autotools, seedingtime and unpack.
 

jith45

Member
May 25, 2018
960
0
16
Ah.

I must have confused two things together and mixed issues that weren't related.

Regardless, thank you very much wonslung and Novik65 for your quick answers