diff options
| author | Mathieu Lirzin <mthl@gnu.org> | 2026-02-08 15:08:22 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-25 22:06:21 +0000 |
| commit | e9cb964a5e7796e77d85ec72d83bcbdb808a3b3f (patch) | |
| tree | 8375a706adedc95616be8021ce3df7de261d1cea /gnu | |
| parent | 801f73783f7d604ca6f973e396601c309aafc4d3 (diff) | |
gnu: rabbitmq-service-type: Extend profile-service-type.
* gnu/services/high-availability.scm (rabbitmq-service-type): Extend
profile-service-type.
Change-Id: I5946c7d00ad8dba2e11f7798d77b5fbb80d066ba
Reviewed-by: Nguyễn Gia Phong <cnx@loang.net>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/services/high-availability.scm | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/gnu/services/high-availability.scm b/gnu/services/high-availability.scm index 0bca1111442..7b57d9a613e 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 <mail@cbaines.net> ;;; Copyright © 2025 Artur Wroblewski <wrobell@riseup.net> +;;; Copyright © 2026 Mathieu Lirzin <mthl@gnu.org> ;;; ;;; 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)))) |
