diff options
-rw-r--r-- | gnu/services/web.scm | 11 |
1 files 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 <[email protected]> ;;; Copyright © 2017 Christopher Baines <[email protected]> ;;; Copyright © 2017 nee <[email protected]> -;;; Copyright © 2017 Clément Lassieur <[email protected]> +;;; Copyright © 2017, 2018 Clément Lassieur <[email protected]> ;;; Copyright © 2018 Pierre-Antoine Rouby <[email protected]> ;;; ;;; 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 |