summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEvgeny Pisemsky <mail@pisemsky.site>2025-12-28 15:55:33 +0300
committerNguyễn Gia Phong <cnx@loang.net>2026-04-02 13:24:51 +0900
commitf7c9456a6f7577e48f96df704c89f108a7e6a4b5 (patch)
treed645a16051e31d4b91ea962e68a4b806ef997c67 /doc
parent7c8cb33b980c4bc93fdf67e36a0eaf05d94ea833 (diff)
services: cat-avatar-generator: Fix default cache directory.
* gnu/services/web.scm (cat-avatar-generator-service): Append slash to default cache directory. * doc/guix.texi (PHP-FPM)<cat-avatar-generator-service>: Likewise. Mention requirements. Change-Id: Idd46deca135bf37133b46bee3ba535d9bedf9258 Merges: https://codeberg.org/guix/guix/pulls/5189 Reviewed-by: Yan Abu Arab <yanabuarab@gmail.com> Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 96b7bcd9ebc..c2761abb171 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -36561,13 +36561,14 @@ in @code{Nginx}. It is used to generate cat avatar from a seed, for instance
the hash of a user's email address.
@deffn {Procedure} cat-avatar-generator-service @
- [#:cache-dir "/var/cache/cat-avatar-generator"] @
+ [#:cache-dir "/var/cache/cat-avatar-generator/"] @
[#:package cat-avatar-generator] @
[#:configuration (nginx-server-configuration)]
Returns an nginx-server-configuration that inherits @code{configuration}. It
extends the nginx configuration to add a server block that serves @code{package},
a version of cat-avatar-generator. During execution, cat-avatar-generator will
-be able to use @code{cache-dir} as its cache directory.
+be able to use @code{cache-dir} as its cache directory, which must end
+with a slash, be created manually, and be writable by php-fpm.
@end deffn
A simple setup for cat-avatar-generator can look like this: