All pastes #1355596 Raw Edit

rtorrent setup that doesn't work

public text v1 · immutable
#1355596 ·published 2009-03-08 03:54 UTC
rendered paste body
  GNU nano 2.0.6                              File: .rtorrent.rc                                                                    

#************** Automagic Torrent Management  ****************#

# Maintain session info in /torrents/session
session=/torrents/session

# Drop .torrent files in /torrents/loading (or /torrents, if starttor can handle "misguided" files)

# Use "starttor" script on cronjob to keep /torrents/watch occupied with three or fewer .torrents

# Load torrents in "watch" directory (check every 5sec)
schedule = watch_directory,5,5,load_start=/torrents/watch/*.torrent

# Download torrents to "active" directory
directory = /torrents/active

# Move to "seeding" directory and seed when downloaded
on_finished = seed,"execute=mv,-u,$d.get_base_path=,/torrents/seeding/ ;d.set_directory=/torrents/seeding/"

# Close when seed ratio reached (check every 60sec)
schedule = ratio,60,60,"close_on_ratio=110"

# Move to "finished" on close (when both the file is downloaded and the ratio is reached)
on_close = move_fin,"execute=mv,-u,$d.get_base_path=,/torrents/finished/ ;d.set_directory=/torrents/finished/"

# Delete .torrent files in /torrents/watch when torrent is closed
on_close = remove_fin,"execute=rm,$d.get_tied_to_file="

# Torrent is downloaded, seeded, and done with.  Use custom script to move to appropriate directory.