diff options
| author | wrobell <wrobell@riseup.net> | 2026-06-16 20:25:15 +0100 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2026-07-26 15:25:57 +0900 |
| commit | 0257734a40999bfbbe0daa922e2d0e4928cdd5f0 (patch) | |
| tree | 993270a08e89cffdab4a527f99cb54fc2411e772 | |
| parent | ce8df300216b308720903e6da9e01d246143b47f (diff) | |
services: rabbitmq: Depend on epmd.
* gnu/services/high-availability.scm (rabbitmq-shepherd-service):
Change requirement to epmd service.
* doc/gnu.texi (High Availability Services): Document it.
* gnu/tests/high-availability.scm (%rabbitmq-os): Add epmd service.
Merges: https://codeberg.org/guix/guix/pulls/9607
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
| -rw-r--r-- | doc/guix.texi | 1 | ||||
| -rw-r--r-- | gnu/services/high-availability.scm | 2 | ||||
| -rw-r--r-- | gnu/tests/high-availability.scm | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 12eca80ed3c..b34f0d1d3da 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -37811,6 +37811,7 @@ A simple example configuration is given below. | |||
| 37811 | "rabbitmq_management" | 37811 | "rabbitmq_management" |
| 37812 | "rabbitmq_prometheus")))) | 37812 | "rabbitmq_prometheus")))) |
| 37813 | @end lisp | 37813 | @end lisp |
| 37814 | This service depends on the @code{epmd} service. | ||
| 37814 | 37815 | ||
| 37815 | At startup, RabbitMQ broker logs its initialization messages into | 37816 | At startup, RabbitMQ broker logs its initialization messages into |
| 37816 | @file{/var/log/messages} file. Once running, the logging messages can be | 37817 | @file{/var/log/messages} file. Once running, the logging messages can be |
diff --git a/gnu/services/high-availability.scm b/gnu/services/high-availability.scm index 8b928e76168..ed7bbfbc7d8 100644 --- a/gnu/services/high-availability.scm +++ b/gnu/services/high-availability.scm | |||
| @@ -185,7 +185,7 @@ distribution.listener.interface = 127.0.0.1 | |||
| 185 | (shepherd-service | 185 | (shepherd-service |
| 186 | (provision '(rabbitmq)) | 186 | (provision '(rabbitmq)) |
| 187 | (documentation "Run the RabbitMQ daemon.") | 187 | (documentation "Run the RabbitMQ daemon.") |
| 188 | (requirement '(user-processes loopback)) | 188 | (requirement '(epmd)) |
| 189 | (modules '((gnu build shepherd))) | 189 | (modules '((gnu build shepherd))) |
| 190 | (start | 190 | (start |
| 191 | #~(make-forkexec-constructor | 191 | #~(make-forkexec-constructor |
diff --git a/gnu/tests/high-availability.scm b/gnu/tests/high-availability.scm index faa657bfc3c..0b0e9b3685f 100644 --- a/gnu/tests/high-availability.scm +++ b/gnu/tests/high-availability.scm | |||
| @@ -120,6 +120,7 @@ distribution.listener.interface = 127.0.0.1 | |||
| 120 | 120 | ||
| 121 | (define %rabbitmq-os | 121 | (define %rabbitmq-os |
| 122 | (simple-operating-system | 122 | (simple-operating-system |
| 123 | (service epmd-service-type) | ||
| 123 | (service rabbitmq-service-type | 124 | (service rabbitmq-service-type |
| 124 | (rabbitmq-configuration (node-name "rabbit@komputilo") | 125 | (rabbitmq-configuration (node-name "rabbit@komputilo") |
| 125 | (config-file %rabbitmq-config-file))))) | 126 | (config-file %rabbitmq-config-file))))) |
