7320e7b3eb
flags since the very beginning, and they are actively used in the base system. A standard install includes 27 files and one directory with the schg flag set. Thus, rsync, out of the box, is incapable of making or restoring an accurate backup of a FreeBSD system. - Move configuration directory from %%PREFIX%%/etc to %%ETCDIR%% and provide a start_precmd() rc.d function to migrate %%PREFIX%%/etc/rsyncd.conf to %%ETCDIR%%/rsyncd.conf if found and create a symlink. The reason behind this change is that rsyncd in a typical setup will end up with more than one configuration file (eg. rsyncd.secrets). - Use new @sample pkg-plist macro - Bump PORTREVISION Discussed with: des
35 lines
772 B
Text
35 lines
772 B
Text
# rsyncd.conf - Example file, see rsyncd.conf(5)
|
|
#
|
|
|
|
# Set this if you want to stop rsync daemon with rc.d scripts
|
|
pid file = /var/run/rsyncd.pid
|
|
|
|
# Edit this file before running rsync daemon!!
|
|
|
|
#uid = nobody
|
|
#gid = nobody
|
|
#use chroot = no
|
|
#max connections = 4
|
|
#syslog facility = local5
|
|
|
|
#[ftp]
|
|
# path = /var/ftp/pub
|
|
# comment = whole ftp area (approx 6.1 GB)
|
|
|
|
#[sambaftp]
|
|
# path = /var/ftp/pub/samba
|
|
# comment = Samba ftp area (approx 300 MB)
|
|
|
|
#[rsyncftp]
|
|
# path = /var/ftp/pub/rsync
|
|
# comment = rsync ftp area (approx 6 MB)
|
|
|
|
#[sambawww]
|
|
# path = /public_html/samba
|
|
# comment = Samba WWW pages (approx 240 MB)
|
|
|
|
#[cvs]
|
|
# path = /data/cvs
|
|
# comment = CVS repository (requires authentication)
|
|
# auth users = tridge, susan
|
|
# secrets file = /usr/local/etc/rsync/rsyncd.secrets
|