From 9c6a461cf0512b8f43f83837907f35cf2255077e Mon Sep 17 00:00:00 2001 From: Clément Lassieur Date: Tue, 1 May 2018 00:05:16 +0200 Subject: services: prosody: Add a description to the prosody-service-type. * gnu/services/messaging.scm (prosody-service-type)[description]: New field. --- gnu/services/messaging.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/services/messaging.scm') diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm index 80ffed0f2f..8ab1481f61 100644 --- a/gnu/services/messaging.scm +++ b/gnu/services/messaging.scm @@ -691,7 +691,9 @@ See also @url{https://prosody.im/doc/modules/mod_muc}." (service-extension account-service-type (const %prosody-accounts)) (service-extension activation-service-type - prosody-activation))))) + prosody-activation))) + (description + "Run Prosody, a modern XMPP communication server."))) ;; A little helper to make it easier to document all those fields. (define (generate-documentation) -- cgit 1.4.1 From cb7c80f67de656025dee60785fb4b45ce2d7dacd Mon Sep 17 00:00:00 2001 From: Clément Lassieur Date: Tue, 1 May 2018 00:14:31 +0200 Subject: services: prosody: Add a default value to the prosody-service-type. * gnu/services/messaging.scm (prosody-service-type)[default-value]: New field. --- gnu/services/messaging.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/services/messaging.scm') diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm index 8ab1481f61..273ba2cc14 100644 --- a/gnu/services/messaging.scm +++ b/gnu/services/messaging.scm @@ -692,6 +692,11 @@ See also @url{https://prosody.im/doc/modules/mod_muc}." (const %prosody-accounts)) (service-extension activation-service-type prosody-activation))) + (default-value (prosody-configuration + (virtualhosts + (list + (virtualhost-configuration + (domain "localhost")))))) (description "Run Prosody, a modern XMPP communication server."))) -- cgit 1.4.1