Skip to content

Instantly share code, notes, and snippets.

View vigortek's full-sized avatar

vigortek

View GitHub Profile
@vigortek
vigortek / rt_starter.sh
Created May 9, 2019 04:14
Starter script for rtorrent
#!/bin/sh
# (C) 2019 vigortek.net - rtorrent starter script
# If config file doesn't exist, don't start
sleep 10
CONFIG="/mnt/storage/.rtorrent.rc"
if [ -f "$CONFIG" ]
then
rm /tmp/rtorrent.sock
sleep 2
@vigortek
vigortek / rtorrent.rc
Last active May 8, 2019 06:51
rtorrent config file for use on an embedded device, like a router.
# rtorrent.rc. Good for a router with 256MB RAM
# min and max peers per torrent
min_peers = 15
max_peers = 30
# max concurrent uploads
max_uploads = 10
max_uploads_global = 30