Mirror admin stuff, initial commit.
[mirror-admin] / doc / ftpsync / runmirrors.conf.sample
CommitLineData
db2c5b8b
MW
1########################################################################
2########################################################################
3## This is a sample configuration file for the runmirror script. ##
4## Most of the values are commented out and just shown here for ##
5## completeness, together with their default value. ##
6########################################################################
7########################################################################
8
9## Which ssh key to use?
10#KEYFILE=.ssh/pushmirror
11
12## The directory for our logfiles
13#LOGDIR="${BASEDIR}/log"
14
15## Our own logfile
16#LOG="${LOGDIR}/${NAME}.log"
17
18## Our lockfile directory
19#LOCKDIR="${BASEDIR}/locks"
20
21## We do create a logfile for every run. To save space we rotate it, this
22## defines how many we keep
23#LOGROTATE=14
24
25## Our mirrorfile
26#MIRRORS="${BASEDIR}/etc/${NAME}.mirror"
27
28## extra ssh options we might want. *hostwide*
29## By default, ignore ssh key change of leafs
30#SSH_OPTS="-o StrictHostKeyChecking=no"
31
32## The script can send logs (or error messages) to a mail address.
33## If this is unset it will default to the local root user unless it is run
34## on a .debian.org machine where it will default to the mirroradm people.
35#MAILTO="root"
36
37## Whats our archive name? We will also tell our leafs about it
38## This is usually empty, but if we are called as "runmirrors bpo"
39## it will default to bpo. This way one runmirrors script can serve
40## multiple archives, similar to what ftpsync does.
41#PUSHARCHIVE="${CONF}"
42
43## How long to wait for mirrors to do stage1 if we have multi-stage syncing
44#PUSHDELAY=600
45
46## Hook scripts can be run at various places.
47## Leave them blank/commented out if you don't want any
48## Hook1: After reading config, before doing the first real action
49## Hook2: Between two hosts to push
50## Hook3: When everything is done
51#HOOK1=""
52#HOOK2=""
53#HOOK3=""