3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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))