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