summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-12-04 09:43:17 +0100
committerMathieu Othacehe <othacehe@gnu.org>2020-12-07 10:39:21 +0100
commite461d3b750080b03f3deea0b44b99c2fda9767ab (patch)
tree68e5fceb09af47eb8e8f77dd72f85e454b9d853b /doc
parent92f7c11af26580a7e6543efa94531652f187923a (diff)
downloadguix-e461d3b750080b03f3deea0b44b99c2fda9767ab.tar.gz
service: Add shepherd discover action.
* gnu/services/base.scm (shepherd-discover-action): New procedure,
(guix-shepherd-service)[<actions>]: add it,
[<start>]: honor it.
* doc/guix.texi (Invoking guix-daemon): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index a4386adf42..a21c4d614e 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1606,6 +1606,14 @@ Servers may serve substitute over HTTP, unencrypted, so anyone on the
 LAN can see what software you’re installing.
 @end enumerate
 
+It is also possible to enable or disable substitute server discovery at
+run-time by running:
+
+@example
+herd discover guix-daemon on
+herd discover guix-daemon off
+@end example
+
 @item --disable-deduplication
 @cindex deduplication
 Disable automatic file ``deduplication'' in the store.