diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-05-12 21:20:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-12 21:22:52 +0200 |
commit | 9e2292ef3d9e2626381f9726c72d71057160b7c3 (patch) | |
tree | fc88c4752788939402377a6076a50ddcf5b6e092 /doc | |
parent | 083b54b7c74a68958fe84b8f627123a030775d1e (diff) | |
download | patches-9e2292ef3d9e2626381f9726c72d71057160b7c3.tar patches-9e2292ef3d9e2626381f9726c72d71057160b7c3.tar.gz |
publish: Add '--listen'.
* guix/scripts/publish.scm (show-help, %options): Add --listen.
(getaddrinfo*): New procedure.
(%default-options): Add 'address'.
(open-server-socket): Replace 'addr' and 'port' with 'address', a
sockaddr.
(guix-publish): Adjust accordingly. Augment "publishing" message with
the actual address.
* doc/guix.texi (Invoking guix publish): Document it.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 8654e08b4f..50d51c6c61 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -3687,6 +3687,10 @@ The following options are available: @itemx -p @var{port} Listen for HTTP requests on @var{port}. +@item --listen=@var{host} +Listen on the network interface for @var{host}. The default is to +accept connections from any interface. + @item --user=@var{user} @itemx -u @var{user} Change privileges to @var{user} as soon as possible---i.e., once the |