[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28198] [PATCH 3/3] services: Add MongoDB.
From: |
Ludovic Courtès |
Subject: |
[bug#28198] [PATCH 3/3] services: Add MongoDB. |
Date: |
Wed, 04 Oct 2017 16:44:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Christopher Baines <address@hidden> skribis:
> * gnu/services/databases.scm (%default-mongodb-configuration-file,
> %mongodb-accounts, mongodb-service-type): New variables.
> (<mongodb-configuration>): New record type.
> (mongodb-activation, mongodb-shepherd-service): New procedures.
> * gnu/tests/databases.scm (%test-mongodb): New variable.
> * doc/guix.text (Database Services): Add MongoDB documentation.
^
texi :-)
[...]
> +(define mongodb-service-type
> + (service-type
> + (name 'mongodb)
> + (extensions
> + (list (service-extension shepherd-root-service-type
> + (compose list
> + mongodb-shepherd-service))
> + (service-extension activation-service-type
> + mongodb-activation)
> + (service-extension account-service-type
> + (const %mongodb-accounts))))
> + (default-value
> + (mongodb-configuration))))
Could you add a ‘description’ field? :-)
Like “Run the MongoDB document database server.”
Apart from that it looks great.
Thank you!
Ludo’.
- [bug#28198] [PATCH 3/3] services: Add MongoDB.,
Ludovic Courtès <=