logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

runmirrors.conf - Configuration for runmirrors

Authors

Debian mirror team. ftpsync Manual RUNMIRRORS.CONF(5)

Description

ftpsync is part of the ftpsync suite for mirroring Debian and Debian-like repositories of packages. As there are way too many mirrors of Debian to populate them all from the machine that generates the archive (“ftp-master”), mirrors are organized in a tree-shaped hierarchy. Thus, every mirror has exactly one up‐ stream from which it syncs, and each mirror can have any number of downstreams which in turn sync from it.

Name

runmirrors.conf - Configuration for runmirrors

Options

MAILTO The script can send logs (or error messages) to a mail address. If this is unset it will default to the current user. Default: $LOGNAMEKEYFILE Which ssh key to use? Default: ~/.ssh/pushmirrorLogoptionsLOGDIR In which directory should logfiles end up. Default: ~/.local/log/ftpsync in the package, ${BASEDIR}/log otherwise LOG Name of our own logfile. Note that ${NAME} is set by the ftpsync script depending on the way it is called. See README for a description of the multi-archive capability and better always include ${NAME} in this path. Default: LOGDIR/{NAME}.logLOGROTATE We do create a logfile for every run. To save space we rotate them, this defines how many we keep Default: 14OtheroptionsLOCKDIR Our lockfile directory. Default: ~/.local/lock/ftpsync in the package, ${BASEDIR}/locks otherwise MIRRORS Our mirrorfile Default: CONFDIR/{NAME}.mirrorSSH_OPTS Extra ssh options we might want. hostwide. By default, ignore ssh key change of leafs Default “-oStrictHostKeyChecking=no”PUSHARCHIVE Whats our archive name? We will also tell our leafs about it This is usually empty, but if we are called as “runmirrors bpo” it will default to bpo. This way one runmirrors script can serve mul‐ tiple archives, similar to what ftpsync does. PUSHDELAY How long to wait for mirrors to do stage1 if we have multi-stage syncing Default: 600Hooks Hook scripts can be run at various places. HOOK1 After reading config, before doing the first real action. HOOK2 Between two hosts to push. HOOK3 When everything is done.

See Also

runmirrors(1)

See Also