aboutsummaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-02-19 22:48:13 +0100
committerLudovic Courtès <ludo@gnu.org>2013-02-19 22:48:13 +0100
commitb8d2aa264de4ebff472698347588f36ed6d4a3e8 (patch)
tree9556f5c65f0a2cc0bc573a7209683115a115ada0 /doc/guix.texi
parent15b673ebe88cd98d3f49039a5da1a37bfc5f9b8e (diff)
downloadgnu-guix-b8d2aa264de4ebff472698347588f36ed6d4a3e8.tar
gnu-guix-b8d2aa264de4ebff472698347588f36ed6d4a3e8.tar.gz
daemon: Add `--listen'.
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_LISTEN): New macro. (options): Add `--listen'. (parse_opt): Handle it. * doc/guix.texi (Invoking guix-daemon): Mention it.
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 f84b37686a..849ab06c4a 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -367,6 +367,13 @@ Do not keep build logs. By default they are kept under
Assume @var{system} as the current system type. By default it is the
architecture/kernel pair found at configure time, such as
@code{x86_64-linux}.
+
+@item --listen=@var{socket}
+Listen for connections on @var{socket}, the file name of a Unix-domain
+socket. The default socket is
+@file{@var{localstatedir}/daemon-socket/socket}. This option is only
+useful in exceptional circumstances, such as if you need to run several
+daemons on the same machine.
@end table