aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2017-02-10 19:17:22 +0100
committerLudovic Courtès <ludo@gnu.org>2017-02-10 23:39:45 +0100
commit533bc51469bf291ac935a463bcbd8fdb93b5976c (patch)
tree25283cf2432625a667f85c8dc2f5420bf5e4db07 /gnu/services
parent8b20a4d15e0811150c4be3aa61fd5f59ed668084 (diff)
downloadguix-533bc51469bf291ac935a463bcbd8fdb93b5976c.tar.gz
guix-533bc51469bf291ac935a463bcbd8fdb93b5976c.zip
tests: Add 'prosody-service-type' test.
* gnu/tests/messaging.scm: New file. * gnu/services/messaging.scm: New exported procedure. (<shepherd-service>)[provision]: Add 'xmpp-daemon'. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/messaging.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm
index aa398970b6..9f59d6eac6 100644
--- a/gnu/services/messaging.scm
+++ b/gnu/services/messaging.scm
@@ -40,7 +40,8 @@
mod-muc-configuration
ssl-configuration
- %default-modules-enabled))
+ %default-modules-enabled
+ prosody-configuration-pidfile))
;;; Commentary:
;;;
@@ -592,7 +593,7 @@ See also @url{http://prosody.im/doc/modules/mod_muc}."
(zero? (system* #$prosodyctl-bin #$@args))))))
(list (shepherd-service
(documentation "Run the Prosody XMPP server")
- (provision '(prosody))
+ (provision '(prosody xmpp-daemon))
(requirement '(networking syslogd user-processes))
(start (prosodyctl-action "start"))
(stop (prosodyctl-action "stop"))))))