Wiki page rsync changed with summary [[Config] added http user for web access; added pre/post script ] by Daniel

This commit is contained in:
ORG-wiki 2022-02-26 09:50:23 +13:00
parent f44414987b
commit 83f7c8cfa9
1 changed files with 8 additions and 0 deletions

View File

@ -49,6 +49,8 @@ chmod 400 /etc/rsyncd.secrets
==== Config ====
Change ''$user''.
<code>
nano /etc/rsyncd.conf
</code>
@ -58,6 +60,12 @@ path = /path/
comment = Archive
timeout = 300
read only = false
# http user if you want to have access via web
#uid = 33
#gid = 33
# Run a script before and after a connection
#pre-xfer exec = /root/before_script.sh
#post-xfer exec = /root/after_script.sh
# Security
auth users = $user
secrets file = /etc/rsyncd.secrets