From owner-freebsd-hubs Mon Apr 23 9:34:50 2001 Delivered-To: freebsd-hubs@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id A664937B423 for ; Mon, 23 Apr 2001 09:34:46 -0700 (PDT) (envelope-from jesper@skriver.dk) Received: by freesbee.wheel.dk (Postfix, from userid 1001) id D39085D60; Mon, 23 Apr 2001 18:34:45 +0200 (CEST) Date: Mon, 23 Apr 2001 18:34:45 +0200 From: Jesper Skriver To: Wes Kurdziolek Cc: Christiaan Keet , freebsd-hubs@FreeBSD.ORG Subject: Re: Broken mirrors Message-ID: <20010423183445.A16140@skriver.dk> References: <20010423180949.A15817@skriver.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from wkurdzio@cslab.vt.edu on Mon, Apr 23, 2001 at 12:16:40PM -0400 X-PGP-Fingerprint: 6B88 9CE8 66E9 E631 C9C5 5EB4 22AB F0EC F956 1C31 X-PGP-Public-Key: http://freesbee.wheel.dk/~jesper/gpgkey.pub Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 -- Jesper Skriver, jesper(at)skriver(dot)dk - CCIE #5456 Work: Network manager @ AS3292 (Tele Danmark DataNetworks) Private: FreeBSD committer @ AS2109 (A much smaller network ;-) One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message