services: prosody: Use 'invoke' rather than 'system*'.

* gnu/services/messaging.scm (prosody-shepherd-service): Replace SYSTEM* with
INVOKE.
This commit is contained in:
Clément Lassieur 2018-08-13 17:36:05 +02:00
parent 18e56ad7eb
commit 2ded865665
No known key found for this signature in database
GPG Key ID: 89F96D4808F359C7

View File

@ -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 #$@args))))))
(invoke #$prosodyctl-bin #$@args)))))
(list (shepherd-service
(documentation "Run the Prosody XMPP server")
(provision '(prosody xmpp-daemon))