Home | Mirror | Search

2. rsync

pkg_add -r rsync
		
# cd /usr/ports/net/rsync
# make install clean
		

2.1. rsyncd.conf

/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"
			
comments powered by Disqus