me
/
guix
Archived
1
0
Fork 0

services: nginx: Improve reload action documentation.

* gnu/services/web.scm (nginx-shepherd-service): Be explicit about the
reload action not changing the configuration file, but instead
respawning worker processes.

Signed-off-by: Christopher Baines <mail@cbaines.net>
EuAndreh via Guix-patches via 2022-10-17 18:28:11 -03:00 committed by Christopher Baines
parent 117b0a65c8
commit dbdc8f64e7
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 5 additions and 1 deletions

View File

@ -819,7 +819,11 @@ of index files."
(list
(shepherd-action
(name 'reload)
(documentation "Reload NGINX configuration file and restart worker processes.")
(documentation "Reload nginx configuration file and restart worker processes.
This has the effect of killing old worker processes and starting new ones, using
the same configuration file. It is useful for situations where the same nginx
configuration file can point to different things after a reload, such as
renewed TLS certificates, or @code{include}d files.")
(procedure (nginx-action "-s" "reload"))))))))))
(define nginx-service-type