aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-09-06 16:12:56 +0200
committerLudovic Courtès <ludo@gnu.org>2022-09-06 16:58:12 +0200
commit8c5065c6d1036012996e4812788e48ca74bc1294 (patch)
treeea25f45645332c8d50e4857fc4d9e32782b09091 /doc
parent61b63e7fa73be8828af2b36d196c3676c974e119 (diff)
downloadguix-8c5065c6d1036012996e4812788e48ca74bc1294.tar
guix-8c5065c6d1036012996e4812788e48ca74bc1294.tar.gz
services: nginx: Add 'shepherd-requirement' configuration field.
* gnu/services/web.scm (<nginx-configuration>)[shepherd-requirement]: New field. (nginx-shepherd-service): Honor it. * doc/guix.texi (Web Services): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index d573695e72..20abfee772 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -28841,6 +28841,14 @@ types, or alternatively, a config file can be provided.
@item @code{nginx} (default: @code{nginx})
The nginx package to use.
+@item @code{shepherd-requirement} (default: @code{'()})
+This is a list of symbols naming Shepherd services the nginx service
+will depend on.
+
+This is useful if you would like @command{nginx} to be started after a
+back-end web server or a logging service such as Anonip has been
+started.
+
@item @code{log-directory} (default: @code{"/var/log/nginx"})
The directory to which NGinx will write log files.