2021年9月10日 星期五

Debian 11 安裝 rsync daemon

apt install -y rsync
echo "port = 873" >/etc/rsyncd.conf

systemctl start rsync

modules 範例
/etc/rsyncd.conf
[rsync01]
path = /test01
uid = nobody
gid = users
list = yes
read only = no
write only = no
use chroot = yes
lock file = /run/lock/rsyncd-rsync01

沒有留言: