cache maintenance remove routine added - needs a real one
[nodejs-repoproxy.git] / repos.conf
1 # cachedir is where it'll store files
2 cachedir:/tmp/cache
3
4 # how often we run thru the cache directory and refresh files, delete old files or perform maintenance on repo data (hours)
5 cachescan:24
6
7 # port to listen on for requests
8 listenport:8008
9
10 #ploop:asdf
11 # a repo definition
12 # repo:base_url:type:upstream_url:updateinterval:packageage
13 # were:
14 #               base_url is the name for url on this proxy (i.e. fedora for /fedora, /pub is automatically removed from urls, i.e. /pub/fedora = /fedora)
15 #               type = yum or apt
16 #               upstream_url is the url for the upstream repo
17 #               updateinterval is how often repo meta data is refreshed (days)
18 #               packageage is how long a package will go unread before it gets deleted (days)
19 repo:fedora:yum:http://ftp.iinet.net.au/pub/fedora/linux/:7:120
20 repo:ubuntu:apt:http://ftp.iinet.net.au/pub/ubuntu/:1:120
21
22 # level for logging (1 = error, 2 = warning, 3=info, 4=debug);
23 loggerlevel:4