/usr/local/etc/rsyncd.conf
/usr/local/etc/rc.d/rsyncd start
Starting rsyncd.
sockstat | grep rsync
root rsync 60491 3 dgram -> /var/run/logpriv
root rsync 60491 4 tcp6 *:873 *:*
root rsync 60491 5 tcp4 *:873 *:*
#vi /etc/rc.conf //加入以下內容
rsyncd_enable="YES"