approx.conf

Langue: en

Autres versions - même langue

Version: October 2008 (ubuntu - 08/07/09)

Section: 5 (Format de fichier)

NAME

approx.conf - configuration file for approx proxy server

SYNOPSIS

/etc/approx/approx.conf

DESCRIPTION

Each non-blank line of the configuration file should contain a name/value pair, separated by white space. Comments start with a "#" character and continue to the end of the line.

Names that begin with the "$" character are reserved for use as configuration parameters. The following parameters are currently defined:

$interface
Specifies the name of the network interface on which the approx(8) server listens for HTTP requests (default: any)
$port
Specifies the TCP port on which the approx(8) server listens for HTTP requests (default: 9999)
$max_rate
Specifies the maximum download rate from remote repositories, in bytes per second (default: unlimited). The value may be suffixed with "K", "M", or "G" to indicate kilobytes, megabytes, or gigabytes per second, respectively.
$max_redirects
Specifies the maximum number of HTTP redirections that will be followed when downloading a remote file (default: 5)
$user, $group
Specifies the name of the user and group to use after the daemon drops privileges (default: approx)
$syslog
Specifies the syslog(3) facility to use when logging (default: daemon)
$pdiffs
Specifies whether to support IndexFile diffs (default: true)
$offline
Specifies whether to deliver (possibly out-of-date) cached files when they cannot be downloaded from remote repositories (default: false)
$max_wait
Specifies how many seconds an approx(8) process will wait for a concurrent download of a file to complete, before attempting to download the file itself (default: 10)
$verbose
Specifies whether informational messages should be printed in the log (default: false)
$debug
Specifies whether debugging messages should be printed in the log (default: false)

The other name/value pairs are used to map distribution names to remote repositories. For example,

debian http://ftp.debian.org/debian
security http://security.debian.org/debian-security

SEE ALSO

approx(8), approx-gc(8)

AUTHOR

Eric Cooper <ecc@cmu.edu>