File: example.mm

package info (click to toggle)
mirror 2.9-13slink15
  • links: PTS
  • area: main
  • in suites: slink
  • size: 588 kB
  • ctags: 303
  • sloc: perl: 5,881; makefile: 131; sh: 56
file content (25 lines) | stat: -rw-r--r-- 994 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

# Example parameter file for the Debian GNU/Linux "mirror" package
#
# This serves as an illustration for a valid mirror parameter file. See the
# man pages mirror(1) and mirror-master(1) as well as the files in 
# /usr/doc/example/mirror/* for details.
#
# This is for illustration. It worked for me when I wrote it, but it might 
# fail for you. No warranties whatsoever. Use at your own risk.
#
# Written by Dirk Eddelbuettel <edd@debian.org>

# NB: Make sure you can write to $home/mm.status. If you run mirror-master as
# a user, touch that file as root and set modes so that user can write to it.
home=/var/log/mirror

# add a  -n  for testing as usual
mirror=/usr/bin/mirror -p$package /etc/mirror/packages/$site >$site:$package

# mirror these if last (successful) mirroring was at least 20h ago
ftp.debian.org:Debian 20 0
ftp.debian.org:Debian-non-US 20 0

# When mirror-master stops, the file /var/log/mirror/ftp.debian.org:Debian 
# lists the mirror results for the above example.