Advertisement
Guest User

richard

a guest
Apr 21st, 2008
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. [DEFAULT]
  2. ;; All times are in seconds, but you can add a suffix
  3. ;; for minutes(m), hours(h) or days(d)
  4.  
  5. ;; Server IP to listen on
  6. ;address = 192.168.0.254
  7.  
  8. ;; Server port to listen on
  9. port = 9999
  10.  
  11. ;; Control files (Packages/Sources/Contents) refresh rate
  12. ;;
  13. ;; Minimum age of a file before it is refreshed
  14. min_refresh_delay = 1h
  15.  
  16. ;; Minimum age of a file before attempting an update (NOT YET IMPLEMENTED)
  17. ;min_age = 23h
  18.  
  19. ;; Uncomment to make apt-proxy continue downloading even if all
  20. ;; clients disconnect. This is probably not a good idea on a
  21. ;; dial up line.
  22. ;; complete_clientless_downloads = 1
  23.  
  24. ;; Debugging settings.
  25. ;; for all debug information use this:
  26. ;; debug = all:9
  27. debug = all:4 db:0
  28.  
  29. ;; Debugging remote python console
  30. ;; Do not enable in an untrusted environment
  31. ;telnet_port = 9998
  32. ;telnet_user = apt-proxy
  33. ;telnet_password = secret
  34.  
  35. ;; Network timeout when retrieving from backend servers
  36. timeout = 15
  37.  
  38. ;; Cache directory for apt-proxy
  39. cache_dir = /var/cache/apt-proxy
  40.  
  41. ;; Use passive FTP? (default=on)
  42. ;passive_ftp = on
  43.  
  44. ;; Use HTTP proxy?
  45. ;http_proxy = [username:password@]host:port
  46.  
  47. ;; Limit download rate from backend servers (http and rsync only), in bytes/sec
  48. ;bandwidth_limit = 100000
  49.  
  50. ;;--------------------------------------------------------------
  51. ;; Cache housekeeping
  52.  
  53. ;; Time to perform periodic housekeeping:
  54. ;; - delete files that have not been accessed in max_age
  55. ;; - scan cache directories and update internal tables
  56. cleanup_freq = 1d
  57.  
  58. ;; Maximum age of files before deletion from the cache (seconds)
  59. max_age = 120d
  60.  
  61. ;; Maximum number of versions of a .deb to keep per distribution
  62. max_versions = 3
  63.  
  64. ;; Add HTTP backends dynamicaly if not already defined? (default=on)
  65. ;dynamic_backends = on
  66.  
  67. ;;---------------------------------------------------------------
  68. ;;---------------------------------------------------------------
  69. ;; Backend servers
  70. ;;
  71. ;; Place each server in its own [section]
  72.  
  73. [debian]
  74. ;; The main Debian archive
  75. ;; You can override the default timeout like this:
  76. ;timeout = 30
  77.  
  78. ;; Backend servers, in order of preference
  79. ;backends =
  80. ; http://ftp.us.debian.org/debian
  81. ; http://ftp.de.debian.org/debian
  82. ; http://ftp2.de.debian.org/debian
  83. ; ftp://ftp.uk.debian.org/debian
  84. ;
  85. min_refresh_delay = 1d
  86.  
  87. [security]
  88. ;; Debian security archive
  89. ;backends =
  90. ; http://security.debian.org/debian-security
  91. ; http://ftp2.de.debian.org/debian-security
  92. ;
  93. min_refresh_delay = 1m
  94.  
  95. [ubuntu]
  96. ;; Ubuntu archive
  97. backends = http://gb.archive.ubuntu.com/ubuntu
  98. min_refresh_delay = 15m
  99.  
  100. [ubuntu-security]
  101. ;; Ubuntu security updates
  102. backends = http://security.ubuntu.com/ubuntu
  103. min_refresh_delay = 1m
  104.  
  105. ;[backports.org]
  106. ;; backports.org
  107. ;backends = http://backports.org/debian
  108. min_refresh_delay = 1d
  109.  
  110. ;[blackdown]
  111. ;; Blackdown Java
  112. ;backends = http://ftp.gwdg.de/pub/languages/java/linux/debian
  113. min_refresh_delay = 1d
  114.  
  115. ;[debian-people]
  116. ;; people.debian.org
  117. ;backends = http://people.debian.org
  118.  
  119. ;[emdebian]
  120. ;; The Emdebian project
  121. ;backends = http://emdebian.sourceforge.net/emdebian
  122.  
  123. ;[rsync]
  124. ;; An example using an rsync server. This is not recommended
  125. ;; unless http is not available, becuause rsync is only more
  126. ;; efficient for transferring uncompressed files and puts much
  127. ;; more overhead on the server.
  128. ;backends = rsync://ftp.uk.debian.org/debian
  129.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement