Execute plugin won't run

Suggest, post, or discuss plugins for Deluge
Post Reply
TPG
New User
New User
Posts: 5
Joined: Fri May 22, 2015 9:23 am

Execute plugin won't run

Post by TPG »

Hello everyone,
I have set up deluge daemon to run on a Raspberry Pi 2 and a ThinClient running from my Linux laptop. Everything is working great.
Now I'm trying to execute simple bash script upon completion to dump torrent info in a log file. My script is:

Code: Select all

#!/bin/bash
torrentid=$1
torrentname=$2
torrentpath=$3
echo "Torrent Details: " $torrentname $torrentpath $torrentid  >> /home/code/deluge_scripts/completed.log
The bash file is saved on the local computer running the ThinClient, set to be executable and owned by the same user running the ThinCleint.

Yet the script is not running upon complication.

More info:
Client: 1.3.11
Server: 1.3.3
libtorrent: 0.15.10.0

Any input will be highly appreciated.

Thanks
Shryp
Moderator
Moderator
Posts: 521
Joined: Mon Apr 20, 2015 10:20 pm

Re: Execute plugin won't run

Post by Shryp »

I haven't used that plugin myself, but just thinking about it makes it seem like it would be running on the daemon so maybe it is logging on the pi.
TPG
New User
New User
Posts: 5
Joined: Fri May 22, 2015 9:23 am

Re: Execute plugin won't run

Post by TPG »

Shryp wrote:maybe it is logging on the pi.
As you can see from the bash, the log file should be under home/'user_name' on the local machine.
TPG
New User
New User
Posts: 5
Joined: Fri May 22, 2015 9:23 am

Re: Execute plugin won't run

Post by TPG »

It works!
For anyone who's facing or might face the same problem, here is the solution:
I moved the whole thing to the Raspberry Pi. Saved the script there and pointed it to log there as well.

Have a nice Linux{ing} everyone
haydent
Member
Member
Posts: 30
Joined: Tue Apr 12, 2016 10:24 am

Re: Execute plugin won't run

Post by haydent »

Note, after enabling plugin deluge or deluged (daemon if used) must be restart
Post Reply