From 1377e1701336441410611edc77c7b653260db5a7 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 12 Apr 2024 14:22:24 +0200 Subject: [PATCH] rsync/service --- rtfd/public/rsync/snippets.rst | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/rtfd/public/rsync/snippets.rst b/rtfd/public/rsync/snippets.rst index 1de332f..56c0620 100644 --- a/rtfd/public/rsync/snippets.rst +++ b/rtfd/public/rsync/snippets.rst @@ -4,7 +4,7 @@ Snippets Simulate sync with deletion --------------------------- -.. code:: shell +.. code-block:: shell rsync \ --archive \ @@ -16,3 +16,17 @@ Simulate sync with deletion "user@host:/remote/directory/" \ --delete --delete-before --delete-after \ --dry-run + +Service +------- + +* /etc/rsyncd.conf + +.. code-block:: shell + + [name] + list = yes + path = /path + read only = true + uid = nobody + gid = nogroup