From owner-freebsd-hubs Mon Apr 23 9:43:13 2001 Delivered-To: freebsd-hubs@freebsd.org Received: from owlstation.cslab.vt.edu (owlstation.cslab.vt.edu [198.82.184.32]) by hub.freebsd.org (Postfix) with ESMTP id 4954D37B422 for ; Mon, 23 Apr 2001 09:43:10 -0700 (PDT) (envelope-from wkurdzio@snowcow.cslab.vt.edu) Received: from snowcow.cslab.vt.edu (snowcow.cslab.vt.edu [198.82.184.27]) by owlstation.cslab.vt.edu (8.11.3/8.11.3) with ESMTP id f3NGh4b98632 for ; Mon, 23 Apr 2001 12:43:04 -0400 (EDT) (envelope-from wkurdzio@snowcow.cslab.vt.edu) Received: from localhost (wkurdzio@localhost) by snowcow.cslab.vt.edu (8.11.3/8.11.3) with ESMTP id f3NGfEl66704 for ; Mon, 23 Apr 2001 12:41:14 -0400 (EDT) (envelope-from wkurdzio@snowcow.cslab.vt.edu) Date: Mon, 23 Apr 2001 12:41:14 -0400 (EDT) From: Wes Kurdziolek To: Subject: Re: Broken mirrors In-Reply-To: <20010423183445.A16140@skriver.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is basically what I've done except I've limited connections to 10 b/c the FTP server is very heavily loaded all the time and bandwidth is semi-limited (10Base-T provides a lot of bandwidth, but certainly not as much as 100Base-T =] ). To rsync w/ ftp3.freebsd.org, use the freebsd module. -- Wes Kurdziolek Virginia Tech Computer Science Lab UNIX System Administrator E-mail: wkurdzio@cslab.vt.edu Voice: +1 (540) 231-3457 Office: 116A McBryde On Mon, 23 Apr 2001, Jesper Skriver wrote: > On Mon, Apr 23, 2001 at 12:16:40PM -0400, Wes Kurdziolek wrote: > > I'll work on putting it up today. Anyone got a quick HOWTO to do that? > > cd /usr/ports/net/rsync > make install > > /usr/local/etc/rsyncd.conf contains > > ############## > motd /data/ftp.dk.FreeBSD.org/etc/motd > syslog local1 > pid /var/run/rsyncd.pid > > [FreeBSD] > comment = FreeBSD official mirror > path = /data/ftp.dk.FreeBSD.org/pub/FreeBSD/ > max connections = 20 > transfer logging = true > dont compress = * > ############## > > /usr/local/etc/rc.d/rsyncd.sh > > ############## > #!/bin/sh > > case "$1" in > > start) > if [ -x /usr/local/bin/rsync ]; then > /usr/local/bin/rsync --daemon && echo -n ' rsyncd' > fi > ;; > stop) > if [ -f /var/run/rsyncd.pid ]; then > kill `cat /var/run/rsyncd.pid` > else > killall rsync > fi > ;; > *) > echo "$0 start | stop" > ;; > esac > ############## > > That's what I did at ftp.dk.FreeBSD.org > > /Jesper > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message