guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: services: prosody: Use 'invoke' rather than 'system*'.


From: Clément Lassieur
Subject: 01/02: services: prosody: Use 'invoke' rather than 'system*'.
Date: Mon, 13 Aug 2018 12:15:39 -0400 (EDT)

snape pushed a commit to branch master
in repository guix.

commit 2ded865665850d9f257ee62a995658c1381a8f4a
Author: Clément Lassieur <address@hidden>
Date:   Mon Aug 13 17:36:05 2018 +0200

    services: prosody: Use 'invoke' rather than 'system*'.
    
    * gnu/services/messaging.scm (prosody-shepherd-service): Replace SYSTEM* 
with
    INVOKE.
---
 gnu/services/messaging.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm
index 4b7e724..6d3a580 100644
--- a/gnu/services/messaging.scm
+++ b/gnu/services/messaging.scm
@@ -634,7 +634,7 @@ See also @url{https://prosody.im/doc/modules/mod_muc}.";
          (prosodyctl-bin (file-append prosody "/bin/prosodyctl"))
          (prosodyctl-action (lambda args
                               #~(lambda _
-                                  (zero? (system* #$prosodyctl-bin 
address@hidden))))))
+                                  (invoke #$prosodyctl-bin address@hidden)))))
     (list (shepherd-service
            (documentation "Run the Prosody XMPP server")
            (provision '(prosody xmpp-daemon))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]