[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/09: services: web: Return success from nginx-action.
From: |
guix-commits |
Subject: |
08/09: services: web: Return success from nginx-action. |
Date: |
Wed, 10 Jul 2024 10:13:30 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e8347bc1770e3aa99c88ccc2568c5d0739de3831
Author: Tomas Volf <~@wolfsden.cz>
AuthorDate: Fri Jul 5 17:01:29 2024 +0200
services: web: Return success from nginx-action.
Previous value of #f lead to `head reload nginx' returning exit code 1,
complicating usage from scripts (and other actions). Returning #t fixes
that.
Any actual failures are still covered by the invoke call above.
* gnu/services/web.scm (nginx-shepherd-service)[nginx-action]<-s>: Return
#t.
Change-Id: I4ce1645798a85baddeb0f5bd702a2567db3c7aaa
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/services/web.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index c434436f69..2d24b3c437 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -830,7 +830,7 @@ of index files."
#~(lambda _
(invoke #$nginx-binary "-c" #$config-file #$@args)
(match '#$args
- (("-s" . _) #f)
+ (("-s" . _) #t)
(_
;; When FILE is true, we cannot be sure that PID-FILE will
;; be created, so assume it won't show up. When FILE is
- branch master updated (71694363f6 -> ab54f8c514), guix-commits, 2024/07/10
- 02/09: gnu: llama-cpp: Update commit and configure flags for shared library build., guix-commits, 2024/07/10
- 03/09: gnu: guile-ncurses: Fix configure flags for Unicode support., guix-commits, 2024/07/10
- 04/09: gnu: gnucash: Update to 5.8., guix-commits, 2024/07/10
- 05/09: pack: Create /tmp in Apptainer images., guix-commits, 2024/07/10
- 09/09: gnu: xaos: Update to 4.3.2., guix-commits, 2024/07/10
- 06/09: gnu: Add emacs-casual-avy., guix-commits, 2024/07/10
- 01/09: gnu: cuirass: Update to 0eaf7b6., guix-commits, 2024/07/10
- 08/09: services: web: Return success from nginx-action.,
guix-commits <=
- 07/09: services: web: Pass run-directory to nginx's actions., guix-commits, 2024/07/10