added a logger, started working on the maintenance timer routines
[nodejs-repoproxy.git] / repos.conf
index 90bd646..dfa404f 100644 (file)
@@ -1,10 +1,13 @@
 # cachedir is where it'll store files
-cachedir:./cache
+cachedir:/tmp/cache
+
+# how often we run thru the cache directory and refresh files, delete old files or perform maintenance on repo data (hours)
+cachescan:24
 
 # port to listen on for requests
 listenport:8008
 
-ploop:asdf
+#ploop:asdf
 # a repo definition
 # repo:base_url:type:upstream_url:updateinterval:packageage
 # were:
@@ -14,4 +17,7 @@ ploop:asdf
 #              updateinterval is how often repo meta data is refreshed (days)
 #              packageage is how long a package will go unread before it gets deleted (days)
 repo:fedora:yum:http://ftp.iinet.net.au/pub/fedora/linux/:7:120
-repo:fedora2:yum:http://ftp.iinet.net.au/pub/fedora/linux/:7:120
\ No newline at end of file
+repo:ubuntu:apt:http://ftp.iinet.net.au/pub/ubuntu/:1:120
+
+# level for logging (1 = error, 2 = warning, 3=info, 4=debug);
+loggerlevel:3