summary refs log tree commit diff
path: root/.guix-channel
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-12-21 14:55:24 +0100
committerLudovic Courtès <ludo@gnu.org>2021-12-21 15:47:03 +0100
commitc9d92409d4d3f587f73c6f48f845a913f7278ad1 (patch)
treec40567bcef107347746823456414f593e9b0b6da /.guix-channel
parent9834ff5d3293b2af728b41314c18ca7fb2081efe (diff)
downloadguix-c9d92409d4d3f587f73c6f48f845a913f7278ad1.tar.gz
services: rsync: Allow configuring several rsync "modules".
Until now the rsync service would export a single module, named
"files".  This allows users to specify as many modules as they want, in
line with rsyncd.conf(5).

* gnu/services/rsync.scm (warn-share-field-deprecation): New procedure.
(<rsync-configuration>)[modules]: New field.
[share-path, share-comment, read-only?, timeout]: Mark as deprecated.
(<rsync-module>): New record type.
(%default-modules): New variable.
(rsync-configuration-modules): New procedure.
(rsync-activation): Create the directory of each module.
(rsync-config-file): Generate configuration for each module.
(rsync-service-type)[description]: New field.
* doc/guix.texi (Networking Services): Adjust documentation.  Augment
example.
Diffstat (limited to '.guix-channel')
0 files changed, 0 insertions, 0 deletions