Skip to content
Configuration for a download user that uses rtorrent & a POE bot to download & announce
Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.bashrc
.inputrc
.rtorrent.rc
.screenrc
README.mkdn
setup.sh

README.mkdn

leech

The leech user is here to manage torrent downloads and other leeching, how do I..?

Start a torrent download

Place the .torrent file you want to download in /home/leech/torrent/queue/

Monitor my download

ssh leech@nix.is
screen -x

Or, if you have sudo access, you can do it with your normal user

ssh nix.is
sudo screen -x leech/

DON'T use screen -rd as that will detach everyone else from the screen. (And on that subject read the `Not fuck shit up' section)

Start the torrent screen

If the torrent screen hasn't been started already this is how you start it:

See if any screen is running already:

leech@t:~$ screen -ls
No Sockets found in /var/run/screen/S-leech.

No? Start it:

leech@t:~$ screen
[detached]

Now you can see it has been started:

leech@t:~$ screen -ls
There is a screen on:
        19583.pts-3.t   (Detached)
1 Socket in /var/run/screen/S-leech.

Then just re-attach as normal with screen -x

View/change the configuration

All the configuration for the leech user is stored in git. Clone from git://github.com/avar/leech.git (or whatever fork is appropriate this week) and fork/commit/push/pull as appropriate.

Use http://leech.nix.is

There's a wTorrent web interface at http://leech.nix.is/. The user is leech and the password is cat ~leech/.htpasswd.

You can also access the ~leech/torrent directory via the web using the same password.

Not fuck shit up

Read the screen manual via info screen to know what you're doing and the rtorrent manual at man rtorrent. The screen fit command is of particular interest.

http://wiki.archlinux.org/index.php/RTorrent\_-\_commandline_bittorrent_client#Controls is also a good resource.

Something went wrong with that request. Please try again.