Date: Mon, 23 Apr 2001 18:34:45 +0200 From: Jesper Skriver <jesper@skriver.dk> To: Wes Kurdziolek <wkurdzio@cslab.vt.edu> Cc: Christiaan Keet <keet@plig.net>, freebsd-hubs@FreeBSD.ORG Subject: Re: Broken mirrors Message-ID: <20010423183445.A16140@skriver.dk> In-Reply-To: <Pine.BSF.4.33.0104231216290.66449-100000@snowcow.cslab.vt.edu>; from wkurdzio@cslab.vt.edu on Mon, Apr 23, 2001 at 12:16:40PM -0400 References: <20010423180949.A15817@skriver.dk> <Pine.BSF.4.33.0104231216290.66449-100000@snowcow.cslab.vt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010423183445.A16140>