#
# configuration file for run_fmirror
#
# this is a bash shell script which is sourced by /usr/lib/fmirror/run_fmirror
#
# The variables you may change in this config file are:
#	RUN_IN_BACKGROUND, NUMLOGS, NIGHTLY_JOBS, and DAY[0..6]

# do you want the mirror jobs to be run simultaneously? 0=false, 1=true
RUN_IN_BACKGROUND=1

# how many days worth of old log files do you want to keep ?
NUMLOGS=30


# do not change the following line.
TODAY=$(date +%w)

# list the basename(s) of each mirror job to run.
#
# each mirror job has a configuration file in /etc/fmirror, with the
# filename of <JOB>.conf.  List only the job names here, without the
# .conf extension.
#
# Note: the quotes ("") are essential.

# jobs to be run every night. Start time is specified in /etc/cron.d/fmirror.

#NIGHTLY_JOBS="debian debian-incoming debian-non-US"
NIGHTLY_JOBS="debian-security vine-nonseed vineseed"

# jobs to be run only on specific days.  0=Sun, 1=Mon, ..., 6=Sat
#
# note: do NOT list jobs in both NIGHTLY_JOBS and in DAY[0..6] otherwise
# the job will be run twice simultaneously.

DAY[0]="kernel"
DAY[1]="debian"
DAY[2]="ayamura"
DAY[3]="debian-jp debian.conf"
DAY[4]="apache kernel_v24"
DAY[5]="debian-non-US"
DAY[6]="cpan"

# do not change the following lines.
JOBS="$NIGHTLY_JOBS ${DAY[$TODAY]}"

# delete any duplicate entries
JOBS=$(echo $JOBS | xargs -n 1 echo | sort -u)

# if set, nightly logs are mailed to the specified user(s)
#MAILTO=root