PageRenderTime 77ms CodeModel.GetById 33ms app.highlight 28ms RepoModel.GetById 13ms app.codeStats 0ms

/apt-cacher-ng/acng.conf.bak

http://github.com/brinkman83/bashrc
Unknown | 136 lines | 106 code | 30 blank | 0 comment | 0 complexity | 3b5873f7f707dfc8453c5d676d10abaf MD5 | raw file
  1CacheDir: /data/cache/apt-cacher-ng
  2
  3LogDir: /var/log/apt-cacher-ng
  4
  5Port:9999
  6
  7# Addresses or hostnames to listen on. Multiple addresses must be 
  8# separated by spaces. Each entry must be associated with a local 
  9# interface. DNS resolution is performed using getaddrinfo(3) for all 
 10# available protocols (i.e. IPv4 and IPv6 if available).
 11#
 12# Default: not set, will listen on all interfaces.
 13#
 14BindAddress: localhost 192.168.1.2 fileserver.homework.local
 15
 16#Proxy: http://www-proxy.example.net:80
 17#proxy: http://username:proxypassword@proxy.example.net:3128
 18
 19Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian
 20Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu
 21Remap-debvol: file:debvol_mirror*.gz /debian-volatile ; file:backends_debvol
 22
 23# http://localhost:9999/acng-report.html
 24ReportPage: acng-report.html
 25
 26# Socket file for accessing through local UNIX socket instead of TCP/IP. Can be
 27# used with inetd bridge or cron client.
 28# SocketPath:/var/run/apt-cacher-ng/socket
 29
 30# Forces log file to be written to disk after every line when set to 1. Default is 
 31# 0, buffer flush happens after client disconnects.
 32#
 33# UnbufferLogs: 0
 34
 35# Set to 0 to store only type, time and transfer sizes. 1 -> client IP and 
 36# relative local path are logged too
 37VerboseLog: 1
 38
 39# Don't detach from the console
 40# ForeGround: 0
 41
 42# Store the pid of the daemon process therein
 43# PidFile: /var/run/apt-cacher-ng/pid
 44
 45# Forbid outgoing connections, work around them or respond with 503 error
 46# offlinemode:0
 47
 48# Forbid all downloads that don't run through preconfigured backends (.where)
 49#ForceManaged: 0
 50
 51# Days before considering an unreferenced file expired (to be deleted).
 52# Warning: if the value is set too low and particular index files are not
 53# available for some days (mirror downtime) there is a risk of deletion of
 54# still usefull package files.
 55ExTreshold: 4
 56
 57# Stop expiration when a critical problem appeared. Currently only failed
 58# refresh of an index file is considered as critical.
 59#
 60# WARNING: don't touch this option or set to a non-zero number.
 61# Anything else is DANGEROUS and may cause data loss.
 62#
 63ExAbortOnProblems: 1
 64
 65# Replace some Windows/DOS-FS incompatible chars when storing
 66StupidFs: 0
 67
 68# Experimental feature for apt-listbugs: pass-through SOAP requests and responses 
 69# to/from bugs.debian.org. If not set, default is true if ForceManaged is enabled 
 70# and false otherwise.
 71ForwardBtsSoap: 1 
 72
 73# The daemon has a small cache for DNS data, to speed up resolution. The 
 74# expiration time of the DNS entries can be configured in seconds.
 75DnsCacheSeconds: 3600
 76
 77# Max. count of connection threads kept ready (for faster response in the future). Should be 
 78# a sane value between 0 and average number of connections, and depend on the amount of spare RAM.
 79#
 80MaxStandbyConThreads: 16
 81
 82# Hard limit of active thread count for incomming connections, i.e. operation is refused 
 83# when this value is reached (below zero = unlimited).
 84#
 85MaxConThreads: -1
 86
 87
 88# Whitelist for expiration, file types not to be removed even when being
 89# unreferenced. Default: same as VfilePattern which is a safe bed. When and
 90# only when the only used mirrors are official repositories (with working
 91# Release files) then it might be set to something more restrictive, like
 92# (^|.*?/)(Release|Release\.gpg|release|meta-release|Translation[^/]*\.bz2)$
 93
 94#VfilePattern = (^|.*?/)(Index|Packages\.bz2|Packages\.gz|Packages|Release|Release\.gpg|Sources\.bz2|Sources\.gz|Sources|release|index\.db-.*\.gz|Contents-[^/]*\.gz|pkglist[^/]*\.bz2|rclist[^/]*\.bz2|/meta-release[^/]*|Translation[^/]*\.bz2)$
 95#PfilePattern = .*(\.deb|\.rpm|\.dsc|\.tar\.gz\.gpg|\.tar\.gz|\.diff\.gz|\.diff\.bz2|\.jigdo|\.template|changelog|copyright|\.udeb|\.diff/.*\.gz|vmlinuz|initrd\.gz|ReleaseAnnouncement)$
 96#WfilePattern = (^|.*?/)(Index|Packages\.bz2|Packages\.gz|Packages|Release|Release\.gpg|Sources\.bz2|Sources\.gz|Sources|release|index\.db-.*\.gz|Contents-[^/]*\.gz|pkglist[^/]*\.bz2|rclist[^/]*\.bz2|/meta-release[^/]*|Translation[^/]*\.bz2)$
 97
 98# Higher modes only working with the debug version Warning, writes a lot into apt-cacher.err 
 99# logfile Value overwrites UnbufferLogs setting (aliased)
100#
101# Debug:3
102
103# Usually, general purpose proxies like Squid expose the IP adress of the client user to the 
104# remote server using the X-Forwarded-For HTTP header. This behaviour can be optionally 
105# turned on with the Expose-Origin option.
106#
107ExposeOrigin: 1
108
109# When logging the originating IP address, trust the information supplied by the client in 
110# the X-Forwarded-For header.
111#
112#
113LogSubmittedOrigin: 0
114
115# The version string reported to the peer, to be displayed as HTTP client (and version) in 
116# the logs of the mirror. WARNING: some archives use this header to detect/guess 
117# capabilities of the client (i.e. redirection support) and change the behaviour 
118# accordingly, while ACNG might not support the expected features. Expect side effects.
119#
120UserAgent: Yet Another HTTP Client/1.2.3p4
121
122# In some cases the Import and Expiration tasks might create fresh volatile
123# data for internal use by reconstructing them using patch files. This
124# by-product might be recompressed with bzip2 and with some luck the resulting
125# file becomes identical to the *.bz2 file on the server, usable for APT
126# clients trying to fetch the full .bz2 compressed version. Injection of the
127# generated files into the cache has however a disadvantage on underpowered
128# servers: bzip2 compession can create high load on the server system and the
129# visible download of the busy .bz2 files also becomes slower.
130#
131RecompBz2: 1
132
133# Network timeout for outgoing connections.
134#
135NetworkTimeout: 60
136