- /etc/pkgcache-host.conf setting (PKGCACHE_ENABLED, PKGCACHE_URL, PKGCACHE_CA); no cache host is built into the tool. sync/apply/revert/status; status shows mode. - pkgcache-host-health.sh + 5 min timer (installed only while ON): probes repomd.xml and .asc through the cache, 2 failures -> origin-only (reversible marker lines, atomic rename under flock), 3 successes -> cache-first. Both-down is not counted. - scripts/tests/pkgcache-host.test.sh Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6
5 lines
197 B
Plaintext
5 lines
197 B
Plaintext
# /etc/pkgcache-host.conf — package cache for this host. OFF unless enabled here.
|
|
PKGCACHE_ENABLED=0
|
|
#PKGCACHE_URL=https://pkg-cache.example.net
|
|
#PKGCACHE_CA=/root/pkgcache-host/pkg-cache-ca.crt
|