Rtorrent: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 3: Line 3:
  mh-install-rtorrent
  mh-install-rtorrent


There is a service that starts up after the rtorrent samba share is available.
There is now a service that starts up after the rtorrent samba share is available. You can start and stop it, eg:
It must start after the samba share that stores its data.  For more info:
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  [~] 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
  m@bandit  [~] emacs config/etc/systemd/system/rtorrent.service # ensure the service starts after the sassy mount

Revision as of 03:55, 24 February 2021

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.