aboutsummaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-07-03 20:25:09 +0200
committerLudovic Courtès <ludo@gnu.org>2016-07-05 11:10:01 +0200
commitb58cbf9ac507f58ef3031305ce8c13ea889de2d2 (patch)
tree2ed944935d405958497202e8828b2ca61af838b1 /doc/guix.texi
parentcf91cfc0c47bbe3c026e098729522feec6631311 (diff)
downloadguix-b58cbf9ac507f58ef3031305ce8c13ea889de2d2.tar
guix-b58cbf9ac507f58ef3031305ce8c13ea889de2d2.tar.gz
services: Add rngd-service.
* gnu/services/base.scm (<rngd-configuration>): New record type. (rngd-service-type): New variable. (rngd-service): New procedure. * doc/guix.texi (Base Services): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 62c0d34805..c9d9bd8977 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -7494,6 +7494,13 @@ created by @command{guix archive --generate-key} (@pxref{Invoking guix
archive}). If that is not the case, the service will fail to start.
@end deffn
+@anchor{rngd-service}
+@deffn {Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @
+ [#:device "/dev/hwrng"]
+Return a service that runs the @command{rngd} program from @var{rng-tools}
+to add @var{device} to the kernel's entropy pool. The service will fail if
+@var{device} does not exist.
+@end deffn
@node Scheduled Job Execution
@subsubsection Scheduled Job Execution