| 1 | # This file is generated from lib/MMM/Config.pm.in | ||
| 2 | # Please change this file instead | ||
| 3 | # Defaults config value for MMM | ||
| 4 | # Check you're editing .in otherwise changes will be lost | ||
| 5 | |||
| 6 | package MMM::Config; | ||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | MMM::Config - Default value for MMM | ||
| 11 | |||
| 12 | =cut | ||
| 13 | |||
| 14 | 4 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 4 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 4 | ▶ | use Exporter; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | |||
| 18 | 4 | our @ISA = qw(Exporter); | |
| 19 | 4 | our @EXPORT = grep { $_ ne 'BEGIN' } keys %{MMM::Config::}; | |
| 20 | |||
| 21 | =head1 VALUES | ||
| 22 | |||
| 23 | =head2 STATEDIR | ||
| 24 | |||
| 25 | Directory for working data | ||
| 26 | |||
| 27 | =cut | ||
| 28 | |||
| 29 | 3 | ▶ | sub STATEDIR { '/var/lib/mmm' } |
|
Subroutine
STATEDIR: called CC=1 SCAR=0.0
Pod
documented
| |||
| 30 | |||
| 31 | =head2 CONFIGFILE | ||
| 32 | |||
| 33 | The default config file location | ||
| 34 | |||
| 35 | =cut | ||
| 36 | |||
| 37 | 0 | ▶ | sub CONFIGFILE { '/etc/mmm/mmm.cfg' } |
|
Subroutine
CONFIGFILE: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 38 | |||
| 39 | =head2 MIRRORDIR | ||
| 40 | |||
| 41 | The location were static mirror list are stored | ||
| 42 | |||
| 43 | =cut | ||
| 44 | |||
| 45 | 2 | ▶ | sub MIRRORDIR { '/etc/mmm' } |
|
Subroutine
MIRRORDIR: called CC=1 SCAR=0.0
Pod
documented
| |||
| 46 | |||
| 47 | =head2 PIDFILE | ||
| 48 | |||
| 49 | The PID file path | ||
| 50 | |||
| 51 | =cut | ||
| 52 | |||
| 53 | 0 | ▶ | sub PIDFILE { '/var/run/mmm/mmm.pid' } |
|
Subroutine
PIDFILE: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 54 | |||
| 55 | =head2 PERIOD | ||
| 56 | |||
| 57 | The default delay between two sync | ||
| 58 | |||
| 59 | =cut | ||
| 60 | |||
| 61 | 0 | ▶ | sub PERIOD { 120 } # in minutes |
|
Subroutine
PERIOD: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 62 | |||
| 63 | =head2 WAITAFTER_MINIMA | ||
| 64 | |||
| 65 | Minimal time between two sync (pause) | ||
| 66 | |||
| 67 | =cut | ||
| 68 | |||
| 69 | 0 | ▶ | sub WAITAFTER_MINIMA { 10 } # in minutes |
|
Subroutine
WAITAFTER_MINIMA: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 70 | |||
| 71 | =head2 MAX_TRY | ||
| 72 | |||
| 73 | Count of try per mirror | ||
| 74 | |||
| 75 | =cut | ||
| 76 | |||
| 77 | 0 | ▶ | sub MAX_TRY { 2 } |
|
Subroutine
MAX_TRY: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 78 | |||
| 79 | =head2 VERBOSITY | ||
| 80 | |||
| 81 | Default verbosity | ||
| 82 | |||
| 83 | =cut | ||
| 84 | |||
| 85 | 5 | ▶ | sub VERBOSITY { 3 } |
|
Subroutine
VERBOSITY: called CC=1 SCAR=0.0
Pod
documented
| |||
| 86 | |||
| 87 | =head2 LISTDELAY | ||
| 88 | |||
| 89 | Delay before remote mirrors list refresh | ||
| 90 | |||
| 91 | =cut | ||
| 92 | |||
| 93 | 0 | ▶ | sub LISTDELAY { 10800 } # 3 heures |
|
Subroutine
LISTDELAY: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 94 | |||
| 95 | =head2 SIZE_DELAY | ||
| 96 | |||
| 97 | Default delay between size calculation | ||
| 98 | |||
| 99 | =cut | ||
| 100 | |||
| 101 | 0 | ▶ | sub SIZE_DELAY { 43200 } # 12 heures |
|
Subroutine
SIZE_DELAY: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 102 | |||
| 103 | 4 | 1; | |
| 104 | |||
| 105 | __END__ | ||