Skip to content

Torrent Watcher

Preston edited this page Aug 6, 2019 · 1 revision

Torrent Watcher

Cloud Torrent-rs can watch a directory for .torrent files and automatically add them.

Configuration

Set the WatchDirectory field in cloud-torrent.yaml:

WatchDirectory: torrents

Or use an absolute path:

WatchDirectory: /home/user/watch

How It Works

  1. The watcher polls the configured directory for new .torrent files
  2. When a new file is found, it is added to the engine automatically
  3. The original .torrent file is moved to the trash directory (TrashDirectory) after being added

Docker

When running in Docker, mount the watch directory as a volume:

services:
  cloud-torrent:
    image: octopustakopi/cloud-torrent-rs:latest
    volumes:
      - ./downloads:/app/downloads
      - ./watch:/app/torrents        # maps to WatchDirectory
      - ./cloud-torrent.yaml:/app/cloud-torrent.yaml

Then drop .torrent files into ./watch/ on the host to trigger automatic downloads.

Clone this wiki locally