DOKK / manpages / debian 12 / libconfig-model-approx-perl / Config::Model::models::Approx.3pm.en
Config::Model::models::Approx(3pm) User Contributed Perl Documentation Config::Model::models::Approx(3pm)

Config::Model::models::Approx - Configuration class Approx

Configuration classes used by Config::Model

Configuration model for Approx

Specifies the location of the approx cache directory (default: /var/cache/approx). It and all its subdirectories must be owned by the approx server (see also the $user and $group parameters, below.) Optional. Type uniline.

/var/cache/approx

Specifies the time in minutes after which a cached file will be considered too old to deliver without first checking with the remote repository for a newer version. Optional. Type integer.

720

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. Optional. Type uniline.

Specifies the maximum number of HTTP redirections that will be followed when downloading a remote file. Optional. Type integer.

5

Optional. Type uniline.

approx

Optional. Type uniline.

approx

syslog(3) facility to use when logging

Optional. Type uniline.

daemon

Optional. Type boolean.

1

Specifies whether to deliver (possibly out-of-date) cached files when they cannot be downloaded from remote repositories. Optional. Type boolean.

0

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. Optional. Type integer.

10

Specifies whether informational messages should be printed in the log. Optional. Type boolean.

0

Specifies whether debug messages should be printed in the log. Optional. Type boolean.

0

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

Use the distribution name as the key of the hash element and the URL as the value . Optional. Type hash of uniline.

cme

2011, Dominique Dumont

2022-10-14 perl v5.34.0