From 4ae0607dd88cfb36a56fa27d0e04f6e6228058e8 Mon Sep 17 00:00:00 2001 From: Clément Lassieur Date: Mon, 13 Aug 2018 21:02:39 +0200 Subject: services: nginx: Use 'invoke' rather than 'system*'. * gnu/services/web.scm (nginx-shepherd-service): Replace SYSTEM* with INVOKE. --- gnu/services/web.scm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/gnu/services/web.scm b/gnu/services/web.scm index 9a58eff5ef..97976509b6 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2016, 2017, 2018 Julien Lepiller ;;; Copyright © 2017 Christopher Baines ;;; Copyright © 2017 nee -;;; Copyright © 2017 Clément Lassieur +;;; Copyright © 2017, 2018 Clément Lassieur ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; ;;; This file is part of GNU Guix. @@ -602,11 +602,10 @@ of index files." (nginx-action (lambda args #~(lambda _ - (zero? - (system* #$nginx-binary "-c" - #$(or file - (default-nginx-config config)) - #$@args)))))) + (invoke #$nginx-binary "-c" + #$(or file + (default-nginx-config config)) + #$@args))))) ;; TODO: Add 'reload' action. (list (shepherd-service -- cgit v1.2.3