Transmission Torrent Client
From Hack Sphere Labs Wiki
Debian 8 Jessie
apt-get install transmission-daemon systemctl stop transmission-daemon nano /etc/transmission-daemon/settings.json
Whitelist, rpc user, pass , and port...also peer port, download and incomplete dirs.
- rpc does not follow cidr but instead *. so 192.168.1.*
systemctl start transmission-daemon
CIFS watch directory
inotify is used to notify transmission that a new file has been added.[1][2]
This does not work with CIFS. So someone talked about making a script that checked everyone once in a while and used transmission-remote -a $file to send to transmission.
But the simpler method is just to create two watch dirs...one local and one remote and have the crontab move the torrent file to the local dir.
So lets do it:
watch-dir: String watch-dir-enabled: Boolean (default = false) Watch a directory for torrent files and add them to transmission.
Note: When watch-dir-enabled is true, only the transmission-daemon, transmission-gtk, and transmission-qt applications will monitor watch-dir for new .torrent files and automatically load them.
systemctl stop transmission-daemon su - cd /var/lib/transmission-daemon mkdir watch chown debian-transmission:debian-transmission watch chmod 677 watch crontab -e
Then add this:
*/1 * * * * mv /mnt/CIFSMOUNT/watch/*.torrent /var/lib/transmission-daemon/watch