summarylogtreecommitdiffstats
path: root/pkgdistcache.conf
diff options
context:
space:
mode:
Diffstat (limited to 'pkgdistcache.conf')
-rw-r--r--pkgdistcache.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgdistcache.conf b/pkgdistcache.conf
new file mode 100644
index 000000000000..1271087c0464
--- /dev/null
+++ b/pkgdistcache.conf
@@ -0,0 +1,16 @@
+#
+# pkgdistcache configuration file
+
+{
+ # The maximum life for the cache file in minutes. After this
+ # amount of time, a new Avahi query will be done to discover
+ # pkgdistcache-capable hosts on local net.
+ 'cache_file_life': 10,
+
+ # The TCP port for the daemon to listen on
+ 'port': 12500,
+
+ # Command to use to download files
+ 'download_cmd': "/usr/bin/curl -C - -f -# -o $o $u"
+}
+