Advertisement
Guest User

rtorrent

a guest
Dec 11th, 2011
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.61 KB | None | 0 0
  1. # connect peers
  2. min_peers = 50
  3. max_peers = 100
  4.  
  5. # connect peers(for finished torrent)
  6. min_peers_seed = 10
  7. max_peers_seed = 100
  8.  
  9. # max upload peers
  10. max_uploads = 50
  11.  
  12. # file ecoding
  13. #encoding_list = UTF-8
  14. encoding.add = UTF-8
  15. system.umask.set = 007
  16.  
  17. # upload and download  ratio (0 mean infinate)
  18. download_rate = 8000
  19. upload_rate = 0
  20.  
  21. # locate of save the downloaded files
  22. directory = /home/goddesschi/rt
  23.  
  24. # rtorrent session folder
  25. session = /home/goddesschi/rt-session
  26.  
  27. schedule = low_diskspace,5,60,close_low_diskspace=100M
  28. # Server 的 IP 和 Domain name
  29. ip =127.0.0.1                                                              
  30. ip = host.name      
  31. bind = 127.0.0.1    
  32.  
  33. # Check hash for finished torrents. Might be usefull until the bug is
  34. # fixed that causes lack of diskspace not to be properly reported.
  35. check_hash = no
  36.  
  37. # rtoreent 所使用的 port
  38. port_range = 53000-65535
  39.  
  40. # use udp Trackers
  41. use_udp_trackers = yes
  42.  
  43. # encryption the connection information
  44. encryption = allow_incoming,enable_retry,prefer_plaintext
  45.  
  46. # DHT
  47. dht = auto
  48.  
  49. # DHT 的 port
  50. dht_port = 19000
  51.  
  52. # peer exchange
  53. peer_exchange = yes
  54.  
  55. #scgi port:wtorrent recommand
  56. scgi_port = :5000
  57.  
  58. #delst_data_when_delet_list_item
  59. #on_erase = rm_complete,"execute=rm,-rf,$d.get_base_path="
  60.  
  61. #remove_the_rpc.socket(if use scgi socket method)
  62. execute_nothrow=rm,/tmp/rpc.socket
  63.  
  64. #scgi socket
  65. #scgi_local = /tmp/rpc.socket
  66. #schedule = chmod,0,0,"execute=chmod,777,/tmp/rpc.socket"
  67.  
  68. # rtorrent watch the torrents every five minute
  69. schedule = watch_directory,5,5,load_start=/home/goddesschi/rt-torrents/*.torrent
  70.  
  71.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement