Gentoo Archives: gentoo-user-es

From: "Arnau Bria Ramírez" <arnau@×××××××××.net>
To: gentoo-user-es@l.g.o
Subject: Re: [gentoo-user-es] repositorios.
Date: Fri, 01 Apr 2005 08:00:24
Message-Id: 20050401100501.25a4a10e@mazingerZ.ays.net
1 El Fri, 11 Mar 2005 12:14:07 -0400
2 José A. Zamora dijo:
3 >
4 > # This line is required by the /etc/init.d/rsyncd script
5 > pid file = /var/run/rsyncd.pid
6 >
7 > [gentoo-portage]
8 > comment = "Mirror del árbol del portage de Gentoo para la red
9 > interna"
10 > path = /usr/portage
11 > read only = true
12 > # limitamos el acceso a las máquinas de la red interna.
13 > hosts allow = 192.168.1.0/24
14 >
15 Hola, sólo quería añadir que este "truquito" funciona, pero para optimizar:
16
17 # cat /etc/rsyncd.conf
18 # /etc/rsyncd.conf
19 # $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/files/rsyncd.conf,v 1.4
20 2005/03/18 02:00:40 vapier Exp $
21
22 # Minimal configuration file for rsync daemon
23 # See rsync(1) and rsyncd.conf(5) man pages for help
24
25 # This line is required by the /etc/init.d/rsyncd script
26 pid file = /var/run/rsyncd.pid
27 use chroot = yes
28 read only = yes
29
30 # Simple example for enabling your own local rsync server
31 [gentoo-portage]
32 path = /usr/portage
33 comment = Gentoo Linux Portage tree
34 read only = true
35 host allow = 192.168.1.2
36 exclude = distfiles/ packages/
37
38 La última linia es importante, yo no suelo limpiar hasta que veo que el disco se
39 llena...así que
40 exclude = distfiles/ packages/
41
42 salu2
43 Arnau
44
45 --
46 gentoo-user-es@g.o mailing list