Advertisement
Technologov

Debian 8 /etc/debmirror

Aug 18th, 2016
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. # Default config for debmirror
  2.  
  3. # The config file is a perl script so take care to follow perl syntax.
  4. # Any setting in /etc/debmirror.conf overrides these defaults and
  5. # ~/.debmirror.conf overrides those again. Take only what you need.
  6. #
  7. # The syntax is the same as on the command line and variable names
  8. # loosely match option names. If you don't recognize something here
  9. # then just stick to the command line.
  10. #
  11. # Options specified on the command line override settings in the config
  12. # files.
  13.  
  14. # Location of the local mirror (use with care)
  15. $mirrordir="/mirrordir";
  16.  
  17. # Output options
  18. $verbose=1;
  19. $progress=1;
  20. $debug=0;
  21.  
  22. # Download options
  23. $host="ftp.debian.org";
  24. $user="anonymous";
  25. $passwd="anonymous@";
  26. $remoteroot="debian";
  27. $download_method="ftp";
  28. @dists="jessie";
  29. @sections="contrib,non-free";
  30. @arches="amd64";
  31. # @ignores="";
  32. # @excludes="";
  33. # @includes="";
  34. # @excludes_deb_section="";
  35. # @limit_priority="";
  36. $omit_suite_symlinks=0;
  37. $skippackages=0;
  38. # @rsync_extra="doc,tools";
  39. $i18n=0;
  40. $getcontents=0;
  41. $do_source=1;
  42. $max_batch=0;
  43.  
  44. # @di_dists="dists";
  45. # @di_archs="arches";
  46.  
  47. # Save mirror state between runs; value sets validity of cache in days
  48. $state_cache_days=0;
  49.  
  50. # Security/Sanity options
  51. $ignore_release_gpg=0;
  52. $ignore_release=0;
  53. $check_md5sums=0;
  54. $ignore_small_errors=0;
  55.  
  56. # Cleanup
  57. $cleanup=0;
  58. $post_cleanup=1;
  59.  
  60. # Locking options
  61. $timeout=300;
  62.  
  63. # Rsync options
  64. $rsync_batch=200;
  65. $rsync_options="-aIL --partial";
  66.  
  67. # FTP/HTTP options
  68. $passive=0;
  69. # $proxy="http://proxy:port/";
  70.  
  71. # Dry run
  72. $dry_run=0;
  73.  
  74. # Don't keep diff files but use them
  75. $diff_mode="use";
  76.  
  77. # The config file must return true or perl complains.
  78. # Always copy this.
  79. 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement