GNU bug report logs -
#58590
[PATCH 0/2] Rework nginx-shepherd reload
Previous Next
Reported by: EuAndreh <eu <at> euandre.org>
Date: Mon, 17 Oct 2022 20:58:02 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 58590 <at> debbugs.gnu.org (full text, mbox):
* gnu/services/web.scm (nginx-shepherd-service): Be explicit about the
reload action not changing the configuration file, but instead
respawning worker processes.
---
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
This bug report was last modified 2 years and 212 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.