From cc57e3469b9475e06ab1d5fd2093e1ae563e54eb Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 2 Jun 2021 13:49:05 +0200 Subject: add a CacheServer entry in pacman configuration snippet... ... comment the regular server entry and update the documentation in README file. The server error limit was introduced in pacman 6.0.0, which caused some trouble with pacredir: Returning 404 (not found) is common case and no fatal error. This should be fixed with pacman 7.0.0, that will understand CacheServer in configuration. Hopefully. Add the required bits in include file for pacman. --- pacman/pacredir | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pacman') diff --git a/pacman/pacredir b/pacman/pacredir index 0a1e1fc..8c049f7 100644 --- a/pacman/pacredir +++ b/pacman/pacredir @@ -1,2 +1,8 @@ # Make sure local service pacredir is running! -Server = http://127.0.0.1:7077/ + +# Add pacredir as a cache server. This makes pacman request package files. +CacheServer = http://127.0.0.1:7077/ + +# Uncomment this to add pacredir as a regular server as well. This makes +# pacman request database files from pacredir. +#Server = http://127.0.0.1:7077/ -- cgit v1.2.3-70-g09d2