diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-12-21 14:55:24 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-12-21 15:47:03 +0100 |
commit | c9d92409d4d3f587f73c6f48f845a913f7278ad1 (patch) | |
tree | c40567bcef107347746823456414f593e9b0b6da /gnu/packages/rrdtool.scm | |
parent | 9834ff5d3293b2af728b41314c18ca7fb2081efe (diff) | |
download | guix-patches-c9d92409d4d3f587f73c6f48f845a913f7278ad1.tar guix-patches-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 'gnu/packages/rrdtool.scm')
0 files changed, 0 insertions, 0 deletions