diff options
author | Jacob Adams <jacob@tookmund.com> | 2021-09-26 13:31:31 -0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-10-25 14:32:59 +0200 |
commit | 1ea032fb5fc8dd6f7a10e5bc705e526d25fbe1b4 (patch) | |
tree | da24969f4f1d3f91a85b3a493e4d5d1a194a7f44 /doc | |
parent | 69b249ecaeb1aa1de1d00c187eb21905eb5c7ca6 (diff) | |
download | guix-1ea032fb5fc8dd6f7a10e5bc705e526d25fbe1b4.tar guix-1ea032fb5fc8dd6f7a10e5bc705e526d25fbe1b4.tar.gz |
services: rsync: support binding rsync to a specific IP address
* gnu/services/rsync.scm (<rsync-configuration>)[address]: New field.
(rsync-config-file): Honor it.
* doc/guix.texi (Networking Services): Document new address rsync
configuration option.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
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 63bb22764a..b1a1e71055 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -17158,6 +17158,10 @@ Data type representing the configuration for @code{rsync-service}. @item @code{package} (default: @var{rsync}) @code{rsync} package to use. +@item @code{address} (default: @code{#f}) +IP address on which @command{rsync} listens for incoming connections. +If unspecified, it defaults to listening on all available addresses. + @item @code{port-number} (default: @code{873}) TCP port on which @command{rsync} listens for incoming connections. If port is less than @code{1024} @command{rsync} needs to be started as the |