From ab034b51006d412c2ea458d3fc000b7706121a3d Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 26 Aug 2011 15:23:37 +0000 Subject: [PATCH] bind to IP and open scgi socket, fix schedule --- torrent/rtorrent.rc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/torrent/rtorrent.rc b/torrent/rtorrent.rc index 4c8b626..3ddd4fb 100644 --- a/torrent/rtorrent.rc +++ b/torrent/rtorrent.rc @@ -1,7 +1,11 @@ +# rember to run rtorrent under /srv/cloudstore/send/ directory! + # This is an example resource file for rTorrent. Copy to # ~/.rtorrent.rc and enable/modify the options as needed. Remember to # uncomment the options you wish to enable. +scgi_local=/tmp/rtorret.socket + # Maximum and minimum number of peers to connect to per torrent. #min_peers = 40 #max_peers = 100 @@ -17,6 +21,10 @@ #download_rate = 0 #upload_rate = 0 +# FIXME: TESTING +download_rate = 15 +upload_rate = 15 + # Default directory to save the downloaded torrents. directory = ./ @@ -28,7 +36,8 @@ directory = ./ # Watch a directory for new torrents, and stop those that have been # deleted. schedule = watch_directory,5,5,load_start=./watch/*.torrent -schedule = untied_directory,5,5,stop_untied= +schedule = tied_directory,5,5,start_tied= +schedule = untied_directory,5,5,close_untied= # Close torrents when diskspace is low. #schedule = low_diskspace,5,60,close_low_diskspace=100M @@ -47,6 +56,7 @@ schedule = untied_directory,5,5,stop_untied= # bound to. #bind = 127.0.0.1 #bind = rakshasa.no +bind=10.60.0.240 # Port range to use for listening. #port_range = 6890-6999 -- 2.20.1