diff options
author | Clément Lassieur <clement@lassieur.org> | 2018-08-13 21:02:39 +0200 |
---|---|---|
committer | Clément Lassieur <clement@lassieur.org> | 2018-08-13 23:44:34 +0200 |
commit | 4ae0607dd88cfb36a56fa27d0e04f6e6228058e8 (patch) | |
tree | 1b8dae6494ebc95a50f9ce3b0f7cebe838d5c8cf /gnu | |
parent | ef2dda8edb2b78cf6a2ffcdac138421b2553aec8 (diff) |
services: nginx: Use 'invoke' rather than 'system*'.
* gnu/services/web.scm (nginx-shepherd-service): Replace SYSTEM* with INVOKE.
Diffstat (limited to 'gnu')
-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 <julien@lepiller.eu> ;;; Copyright © 2017 Christopher Baines <mail@cbaines.net> ;;; Copyright © 2017 nee <nee-git@hidamari.blue> -;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org> +;;; Copyright © 2017, 2018 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr> ;;; ;;; 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 |