diff options
author | Jean-Baptiste Note <jean-baptiste.note@m4x.org> | 2020-05-10 18:43:08 +0000 |
---|---|---|
committer | Guix Patches Tester <> | 2020-05-10 20:29:09 +0100 |
commit | 2a979c092b5a1e853d1bbaccb9635b42c2157cc6 (patch) | |
tree | cc54aa95f1d17c46fab854c893ffca4a9b65b7bc | |
parent | f1a83356a7604fa87b8fe6ed6ae1b57e9e3d5756 (diff) | |
download | patches-series-3908.tar patches-series-3908.tar.gz |
doc: Add documentation for cachefilesd-service.series-3908
* doc/guix.texi (Linux Services): Add a new subsection and document the
cachefilesd service and its configuration.
-rw-r--r-- | doc/guix.texi | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 0cba0ee1ec..4aaec43739 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -25724,6 +25724,41 @@ parameters, can be done as follow: @end lisp @end deffn +@cindex cachefilesd +@cindex cachefiles +@cindex fscache +@subsubheading cachefilesd Service + +The cachefilesd service allows one to load start @code{cachefilesd} for +caching network filesystem data on local disks. This is especially +useful for NFS and AFS shares, reducing read latency. + +@deffn {Scheme Variable} cachefilesd-service-type +The service type for starting cachefilesd. For example starting the +cachefiles daemon can be done as follow: + +@lisp +(use-modules (gnu) (gnu services)) +(use-package-modules linux) +(use-service-modules linux) + +(operating-system + ... + (services + (cons* + (service cachefilesd-service-type + (cachefilesd-configuration + (dir "/var/cache/fscache") ; the default value + (syslog? #f) ; don't require syslogd + (secctx "cachefiles_kernel_t") + (tag "mycache") + (brun 10) + (bcull 7) + (bstop 3))) + %base-services))) +@end lisp +@end deffn + @node Miscellaneous Services @subsection Miscellaneous Services |