aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTomas Volf <~@wolfsden.cz>2024-07-05 17:01:29 +0200
committerLudovic Courtès <ludo@gnu.org>2024-07-10 16:05:54 +0200
commite8347bc1770e3aa99c88ccc2568c5d0739de3831 (patch)
tree05499943555e2fd9e5b82bf00e624ca24dcec2ea /gnu
parent01183a77aa9fabe4f949bad60d4f27f067737e1b (diff)
downloadguix-e8347bc1770e3aa99c88ccc2568c5d0739de3831.tar.gz
guix-e8347bc1770e3aa99c88ccc2568c5d0739de3831.zip
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/web.scm2
1 files changed, 1 insertions, 1 deletions
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