Rtorrent

From wikinotes

Commandline torrent client.

Documentation

Locations

~/.rtorrent.rc config
~/etc/systemd/system/rt@.service systemd unit-file

Install

sudo pacman -S rtorrent

Configuration

# ~/.rtorrent.rc
directory = # downloads dir
session = # tempfiles?
check_hash = yes

# If cannot get sources, allow option for non-encrypted
#encryption = allow_incoming,try_outgoing,enable_retry
encryption = require,require_RC4,allow_incoming,try_outgoing
# /etc/systemd/system/rt@.service
[Unit]
Description=rTorrent
Requires=network.target local-fs.target

[Service]
Type=forking
RemainAfterExit=yes
KillMode=none
User=%I
ExecStart=/usr/bin/screen -d -m -S rtorrent /usr/bin/rtorrent
ExecStop=/usr/bin/killall -w -s 2 /usr/bin/rtorrent
WorkingDirectory=/home/%I/
Restart=on-failure

[Install]
WantedBy=multi-user.target
systemctl enable rt@$USER.service
systemctl start rt@$USER.service

Usage

hotkeys:
    ctrl-q: quit
    ctrl-s: start download
    ctrl-d: stop download
    left/right: prev/next screen
    return: add *.torrent