Rtorrent: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Chatty setup notes are [[Automated_torrent_management_in_linux|here]].
DEPRECATED.  See [[qBitTorrent]] instead.


rtorrent config: bitpost.com:~m/.rtorrent.rc
==== Install ====
  rutorrent config: bitpost.com:/var/www/localhost/htdocs/rutorrent/conf/.rtorrent.rc
rtorrent is installed on bandit, via:
  mh-install-rtorrent


There is now a service that starts up after the rtorrent samba share is available.  You can start and stop it, eg:
sudo systemctl enable --now rtorrent # to enable on startup, and start it "now"
sudo service rtorrent stop # to stop it
It is configured to 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 21:
     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]].

Latest revision as of 17:31, 30 March 2022

DEPRECATED. See qBitTorrent instead.

Install

rtorrent is installed on bandit, via:

mh-install-rtorrent

There is now a service that starts up after the rtorrent samba share is available. You can start and stop it, eg:

sudo systemctl enable --now rtorrent # to enable on startup, and start it "now"
sudo service rtorrent stop # to stop it

It is configured to 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.