aboutsummaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-01-10 07:24:01 +0000
committerLudovic Courtès <ludo@gnu.org>2017-01-12 16:49:47 +0100
commit67cadaca4746f847fbbea5ef69f6cc65d1eb3acc (patch)
tree4e12e9e4d9d9fa0f87a3ca3169f04adc5167a446 /doc/guix.texi
parent35c99a1fa087afd05a1014fa5939e05cbb56dfc3 (diff)
downloadguix-67cadaca4746f847fbbea5ef69f6cc65d1eb3acc.tar
guix-67cadaca4746f847fbbea5ef69f6cc65d1eb3acc.tar.gz
services: Add 'redis-service-type'.
* gnu/services/database.scm (<redis-configuration>): New record type. (%redis-accounts, redis-service-type): New variables. (default-redis.conf, redis-activation, redis-shepherd-service): New procedures. * doc/guix.texi (Database Services): Document the new redis service. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 086895996f..c495e39f42 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -10331,6 +10331,30 @@ TCP port on which the database server listens for incoming connections.
@end table
@end deftp
+@defvr {Scheme Variable} redis-service-type
+This is the service type for the @uref{https://redis.io/, Redis}
+key/value store, whose value is a @code{redis-configuration} object.
+@end defvr
+
+@deftp {Data Type} redis-configuration
+Data type representing the configuration of redis.
+
+@table @asis
+@item @code{redis} (default: @code{redis})
+The Redis package to use.
+
+@item @code{bind} (default: @code{"127.0.0.1"})
+Network interface on which to listen.
+
+@item @code{port} (default: @code{6379})
+Port on which to accept connections on, a value of 0 will disable
+listining on a TCP socket.
+
+@item @code{working-directory} (default: @code{"/var/lib/redis"})
+Directory in which to store the database and related files.
+@end table
+@end deftp
+
@node Mail Services
@subsubsection Mail Services