Commit e5255195 authored by Wayne Davison's avatar Wayne Davison

Authorize the current host in the rsyncd.conf file in addition

to localhost and 127.0.0.1 (which will hopefully fix the failing
of the daemon tests on FreeBSD).
parent 4b90820d
......@@ -224,13 +224,14 @@ build_rsyncd_conf() {
port=2612
pidfile="$scratchdir/rsyncd.pid"
logfile="$scratchdir/rsyncd.log"
hostname=`uname -n`
cat >"$conf" <<EOF
# rsyncd configuration file autogenerated by $0
pid file = $pidfile
use chroot = no
hosts allow = localhost, 127.0.0.1
hosts allow = localhost 127.0.0.1 $hostname
log file = $logfile
log format = %i %h [%a] %m (%u) %l %f%L
transfer logging = yes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment