jeroenpardon
5/9/2016 - 10:37 PM

rtorrent config

rtorrent config

scgi_port = localhost:8050
directory = /volume1/download
max_memory_usage = 264645632
log.open_file = "rtorrent.log", "/usr/local/rutorrent/var/rtorrent.log"
log.add_output = "warn", "rtorrent.log"
http_cacert = /usr/local/rutorrent/etc/cacert.pem
system.umask.set = 002
port_range = 6881-6999
session = /usr/local/rutorrent/var/.session

# Periodically save session data
schedule = session_save,240,300,session_save=

#set watch and download directories
schedule = watch_directory_1,5,5,"load_start=/volume1/.torrents/other/*.torrent,d.set_directory=/volume1/download/other,d.custom1.set=other,d.custom2.set=/volume1/download/process/other/"
schedule = watch_directory_2,5,5,"load_start=/volume1/.torrents/comics/*.torrent,d.set_directory=/volume1/download/comics,d.custom1.set=comics,d.custom2.set=/volume1/download/process/comics/"
schedule = watch_directory_3,5,5,"load_start=/volume1/.torrents/tvshows/*.torrent,d.set_directory=/volume1/download/tvshows,d.custom1.set=tvshows,d.custom2.set=/volume1/download/process/tvshows/"
schedule = watch_directory_4,5,5,"load_start=/volume1/.torrents/movies/*.torrent,d.set_directory=/volume1/download/movies,d.custom1.set=movies,d.custom2.set=/volume1/download/process/movies/"
schedule = watch_directory_5,5,5,"load_start=/volume1/.torrents/music/*.torrent,d.set_directory=/volume1/download/music,d.custom1.set=music,d.custom2.set=/volume1/download/process/music/"
schedule = watch_directory_6,5,5,"load_start=/volume1/.torrents/software/*.torrent,d.set_directory=/volume1/download/software,d.custom1.set=software,d.custom2.set=/volume1/download/process/software/"

# Enable the default ratio group.
ratio.enable=
# Change the limits, the defaults should be sufficient.
# Upload to a minimum ratio
ratio.min.set=150
# Upload to a maximum ratio
ratio.max.set=400
# Upload a minimum size
ratio.upload.set=250M

# When seeding ratio is reached close the torrent
# system.method.set = group.seeding.ratio.command, d.close=

# When seeding ratio is reached close the torrent and delete the data
system.method.set = group.seeding.ratio.command, d.close=, d.erase=,"execute={rm,-rf,--,$d.get_base_path=}"

# Watch a directory for new torrents, and stop those that have been
# deleted.
# schedule = watch_directory,5,5,load_start=/volume1/.torrents/*.torrent
schedule = tied_directory,6,5,start_tied=
schedule = untied_directory,7,5,stop_untied=

# Link when finished.
method.set_key=event.download.finished,move_complete,"d.set_directory=$d.get_custom2= ;execute=cp,-al,__,$d.get_base_path=,$d.get_custom2="

# Delete when erased.
# system.method.set_key = event.download.erased, delete_erased, "execute = rm, -fr, --, $d.get_base_path="