bind to IP and open scgi socket, fix schedule
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 26 Aug 2011 15:23:37 +0000 (15:23 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 26 Aug 2011 15:24:06 +0000 (15:24 +0000)
torrent/rtorrent.rc

index 4c8b626..3ddd4fb 100644 (file)
@@ -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
 #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