aboutsummaryrefslogtreecommitdiffstats
path: root/doc/apk-cache.5.scd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/apk-cache.5.scd')
-rw-r--r--doc/apk-cache.5.scd23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/apk-cache.5.scd b/doc/apk-cache.5.scd
new file mode 100644
index 0000000..cb19c53
--- /dev/null
+++ b/doc/apk-cache.5.scd
@@ -0,0 +1,23 @@
+apk-cache(5)
+
+# NAME
+
+*/etc/apk/cache* - local cache of package files
+
+# DESCRIPTION
+
+If */etc/apk/cache* is a symlink to a local directory, *apk*(8) will it as a
+local cache for downloaded package files and repository indicies. The cache
+must not reside on a tmpfs.
+
+To enable the apk cache, run the following commands as root:
+
+mkdir -p /var/cache/apk++
+ln -s /var/cache/apk /etc/apk/cache
+
+For information on cache maintenance, see *apk-cache*(8).
+
+# AUTHORS
+
+Natanael Copa <ncopa@alpinelinux.org>++
+Timo Teräs <_timo.teras@iki.fi_>