diff options
author | Christian Hesse <mail@eworm.de> | 2021-06-02 13:49:05 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-11-24 08:31:59 +0100 |
commit | cc57e3469b9475e06ab1d5fd2093e1ae563e54eb (patch) | |
tree | 37019c5c7307de7e24a029f22569f60c7f5c1938 /pacman | |
parent | 2abd33d55c18da4af4ac7540c12598527eb2a81a (diff) | |
download | pacredir-pacman-v6.1.0.tar.gz pacredir-pacman-v6.1.0.tar.zst |
add a CacheServer entry in pacman configuration snippet...pacman-v6.1.0
... 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.
Diffstat (limited to 'pacman')
-rw-r--r-- | pacman/pacredir | 8 |
1 files changed, 7 insertions, 1 deletions
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/ |