From e9cb964a5e7796e77d85ec72d83bcbdb808a3b3f Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Sun, 8 Feb 2026 15:08:22 +0100 Subject: [PATCH] gnu: rabbitmq-service-type: Extend profile-service-type. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/services/high-availability.scm (rabbitmq-service-type): Extend profile-service-type. Change-Id: I5946c7d00ad8dba2e11f7798d77b5fbb80d066ba Reviewed-by: Nguyễn Gia Phong Signed-off-by: Sharlatan Hellseher --- gnu/services/high-availability.scm | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/gnu/services/high-availability.scm b/gnu/services/high-availability.scm index 0bca111144..7b57d9a613 100644 --- a/gnu/services/high-availability.scm +++ b/gnu/services/high-availability.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018 Christopher Baines ;;; Copyright © 2025 Artur Wroblewski +;;; Copyright © 2026 Mathieu Lirzin ;;; ;;; This file is part of GNU Guix. ;;; @@ -134,13 +135,17 @@ listeners.tcp.2 = ::1:5672 (stop #~(make-kill-destructor))))))) (define rabbitmq-service-type - (service-type (name 'rabbitmq) - (description "Run the RabbitMQ message broker service.") - (extensions (list (service-extension - shepherd-root-service-type - rabbitmq-shepherd-service) - (service-extension activation-service-type - rabbitmq-activation) - (service-extension account-service-type - (const %rabbitmq-accounts)))) - (default-value (rabbitmq-configuration)))) + (service-type + (name 'rabbitmq) + (description "Run the RabbitMQ message broker service.") + (extensions (list (service-extension + shepherd-root-service-type + rabbitmq-shepherd-service) + (service-extension activation-service-type + rabbitmq-activation) + (service-extension account-service-type + (const %rabbitmq-accounts)) + (service-extension + profile-service-type + (compose list rabbitmq-configuration-rabbitmq)))) + (default-value (rabbitmq-configuration))))