Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 12:41:14 -0400 (EDT)
From:      Wes Kurdziolek <wkurdzio@cslab.vt.edu>
To:        <freebsd-hubs@freebsd.org>
Subject:   Re: Broken mirrors
Message-ID:  <Pine.BSF.4.33.0104231238430.66665-100000@snowcow.cslab.vt.edu>
In-Reply-To: <20010423183445.A16140@skriver.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0104231238430.66665-100000>