unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58595] [PATCH 2/2] services: nginx: Improve reload action documentation.
       [not found] <58590@debbugs.gnu.org>
@ 2022-10-17 21:33 ` EuAndreh via Guix-patches via
       [not found]   ` <handler.58595.B.16660424324863.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 2+ messages in thread
From: EuAndreh via Guix-patches via @ 2022-10-17 21:33 UTC (permalink / raw)
  To: 58595; +Cc: EuAndreh

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

Correct placement of the second patch.  I'll close the other bugs opened
when I replied to my own email, instead of debbugs' email.
 gnu/services/web.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index 7fde8824b3..2023119037 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -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
-- 
2.38.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#58595] Acknowledgement ([PATCH 2/2] services: nginx: Improve reload action documentation.)
       [not found]   ` <handler.58595.B.16660424324863.ack@debbugs.gnu.org>
@ 2022-10-17 21:50     ` EuAndreh via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: EuAndreh via Guix-patches via @ 2022-10-17 21:50 UTC (permalink / raw)
  To: 58595; +Cc: control

close 58595
Superseded by 58590.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-17 21:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <58590@debbugs.gnu.org>
2022-10-17 21:33 ` [bug#58595] [PATCH 2/2] services: nginx: Improve reload action documentation EuAndreh via Guix-patches via
     [not found]   ` <handler.58595.B.16660424324863.ack@debbugs.gnu.org>
2022-10-17 21:50     ` [bug#58595] Acknowledgement ([PATCH 2/2] services: nginx: Improve reload action documentation.) EuAndreh via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).