rsync/service
All checks were successful
/ job (push) Successful in 5m10s

This commit is contained in:
Marc Beninca 2024-04-12 14:22:24 +02:00
parent 863d0f9c0d
commit 1377e17013
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -4,7 +4,7 @@ Snippets
Simulate sync with deletion Simulate sync with deletion
--------------------------- ---------------------------
.. code:: shell .. code-block:: shell
rsync \ rsync \
--archive \ --archive \
@ -16,3 +16,17 @@ Simulate sync with deletion
"user@host:/remote/directory/" \ "user@host:/remote/directory/" \
--delete --delete-before --delete-after \ --delete --delete-before --delete-after \
--dry-run --dry-run
Service
-------
* /etc/rsyncd.conf
.. code-block:: shell
[name]
list = yes
path = /path
read only = true
uid = nobody
gid = nogroup