Rtorrent: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 1: Line 1:
Chatty setup notes are [[Automated_torrent_management_in_linux|here]].
==== Install ====
rtorrent is installed on bandit, via:
mh-install-rtorrent


rtorrent  config: bitpost.com:~m/.rtorrent.rc
There is a service that starts up after the rtorrent samba share is available.
  rutorrent config: bitpost.com:/var/www/localhost/htdocs/rutorrent/conf/.rtorrent.rc
It must start after the samba share that stores its data. For more info:
m@bandit  [~] sudo systemctl list-units | grep 'mount' | awk '{ print $1 }' # to see the names of systemd mounts
m@bandit [~] emacs config/etc/systemd/system/rtorrent.service # ensure the service starts after the sassy mount


Rutorrent requires http auth, provided by haproxy config on bitpost.
TODO:
  rutorrent uploads here: /var/www/localhost/htdocs/rutorrent/share/torrents
  rutorrent uploads here: /var/www/localhost/htdocs/rutorrent/share/torrents
  symlink that to:        ~m/download/torrents
  symlink that to:        ~m/download/torrents
Line 9: Line 16:
     sudo chown -R m:apache *
     sudo chown -R m:apache *
     sudo chmod -R g+w *
     sudo chmod -R g+w *
==== Config ====
=== Basic config ===
rtorrent  config: bandit:~m/.rtorrent.rc
rutorrent config: bandit:/var/www/localhost/htdocs/rutorrent/conf/.rtorrent.rc
=== File structure ===
Every box basically shares the rtorrent working directories, so we can dump in fresh torrents from anywhere.
Layout:
~/SharedDownloads -> /spiceflow/sassy/SharedDownloads
SharedDownloads    actively downloading torrents and files
  finished/          files that have finished downloading
  archived/          actively seeding torrents of archived files
    symlinks/        symlinks to files that have been archived
    offline/        offline torrents - move back to archived to auto-restart
    .[share]        symlinks to shares organized by media type
See `mh-setup-samba-shares` for more information.
==== Old ====
Old chatty setup notes are [[Automated_torrent_management_in_linux|here]].

Revision as of 21:14, 20 February 2021

Install

rtorrent is installed on bandit, via:

mh-install-rtorrent

There is a service that starts up after the rtorrent samba share is available. It must start after the samba share that stores its data. For more info:

m@bandit  [~] sudo systemctl list-units | grep 'mount' | awk '{ print $1 }' # to see the names of systemd mounts
m@bandit  [~] emacs config/etc/systemd/system/rtorrent.service # ensure the service starts after the sassy mount

Rutorrent requires http auth, provided by haproxy config on bitpost.

TODO:

rutorrent uploads here: /var/www/localhost/htdocs/rutorrent/share/torrents
symlink that to:        ~m/download/torrents
make sure you do this to torrent folders:
   sudo chown -R m:apache *
   sudo chmod -R g+w *

Config

Basic config

rtorrent  config: bandit:~m/.rtorrent.rc
rutorrent config: bandit:/var/www/localhost/htdocs/rutorrent/conf/.rtorrent.rc

File structure

Every box basically shares the rtorrent working directories, so we can dump in fresh torrents from anywhere.

Layout:

~/SharedDownloads -> /spiceflow/sassy/SharedDownloads
SharedDownloads     actively downloading torrents and files
 finished/          files that have finished downloading
 archived/          actively seeding torrents of archived files
   symlinks/        symlinks to files that have been archived
   offline/         offline torrents - move back to archived to auto-restart
   .[share]         symlinks to shares organized by media type

See `mh-setup-samba-shares` for more information.

Old

Old chatty setup notes are here.