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
沒有留言:
張貼留言