golya87

rtorrent.rc

Feb 21st, 2017
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. execute.nothrow = rm,/run/php/.rtorrent.sock
  2. network.scgi.open_local = /run/php/.rtorrent.sock
  3. schedule = socket_chmod,0,0,"execute=chmod,0660,/run/php/.rtorrent.sock"
  4. schedule = socket_chgrp,0,0,"execute=chgrp,abc,/run/php/.rtorrent.sock"
  5. log.open_file = "rtorrent", /config/log/rtorrent/rtorrent.log
  6. log.add_output = "info", "rtorrent"
  7. encoding_list = UTF-8
  8.  
  9. # Created files permission
  10. system.umask.set = 022
  11.  
  12. # Download
  13. min_peers = 1
  14. max_peers = 100
  15.  
  16. # Upload
  17. min_peers_seed = 1
  18. max_peers_seed = 50
  19.  
  20. # Max simultanious uploads
  21. max_uploads = 20
  22.  
  23. # Max bandwith in KB
  24. download_rate = 8192
  25. upload_rate = 4096
  26.  
  27. # Sessions place
  28. session = /config/rtorrent/rtorrent_sess
  29. session.use_lock.set = yes
  30.  
  31. # Default download location
  32. directory = /downloads/dwn
  33.  
  34. # Autoload
  35. schedule = watch_directory_1,10,10,"load_start=/downloads/wch/*.torrent,d.set_directory=/downloads/dwn/"
  36. #schedule = watch_directory_2,10,10,"load_start=/nas/torrent/auto.movie/*.torrent,d.set_directory=/nas/movies/"
  37. schedule = tied_directory,10,10,start_tied=
  38. schedule = untied_directory,10,10,close_untied=
  39.  
  40. # Check disk space
  41. schedule = low_diskspace,5,60,close_low_diskspace=500M
  42.  
  43. # Allocate disk space
  44. system.file.allocate = 1
  45.  
  46. # Outside port
  47. port_range = 25252-25252
  48.  
  49. # Hash check after torrent finished
  50. #check_hash = yes
  51.  
  52. # Encryption
  53. encryption = allow_incoming,try_outgoing,enable_retry
  54.  
  55. # DHT support for trackerless torrents or when all trackers are down
  56. dht = auto
  57. dht_port = 6881
  58. use_udp_trackers = yes
  59.  
  60. # rss starts without webGUI
  61. execute = {sh,-c,/usr/bin/php7 /usr/share/webapps/rutorrent/php/initplugins.php abc &}
Advertisement
Add Comment
Please, Sign In to add comment