mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
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>
This commit is contained in:
parent
117b0a65c8
commit
dbdc8f64e7
1 changed files with 5 additions and 1 deletions
|
@ -819,7 +819,11 @@ (define (nginx-shepherd-service config)
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue