[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: services: nginx: Use 'invoke' rather than 'system*'.
From: |
Cl�ment Lassieur |
Subject: |
02/02: services: nginx: Use 'invoke' rather than 'system*'. |
Date: |
Mon, 13 Aug 2018 17:44:59 -0400 (EDT) |
snape pushed a commit to branch master
in repository guix.
commit 4ae0607dd88cfb36a56fa27d0e04f6e6228058e8
Author: Clément Lassieur <address@hidden>
Date: Mon Aug 13 21:02:39 2018 +0200
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 9a58eff..9797650 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2016, 2017, 2018 Julien Lepiller <address@hidden>
;;; Copyright © 2017 Christopher Baines <address@hidden>
;;; Copyright © 2017 nee <address@hidden>
-;;; Copyright © 2017 Clément Lassieur <address@hidden>
+;;; Copyright © 2017, 2018 Clément Lassieur <address@hidden>
;;; Copyright © 2018 Pierre-Antoine Rouby <address@hidden>
;;;
;;; 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))
- address@hidden))))))
+ (invoke #$nginx-binary "-c"
+ #$(or file
+ (default-nginx-config config))
+ address@hidden)))))
;; TODO: Add 'reload' action.
(list (shepherd-service