[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Provide rsync access to GNU ELPA for mirroring it

From: Clément Pit--Claudel
Subject: Re: Provide rsync access to GNU ELPA for mirroring it
Date: Wed, 13 Jul 2016 09:14:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

On 2016-07-13 04:45, Stefan Monnier wrote:
> but if someone can provide me the
> typical steps and a sample config file (on a Debian machine) it would
> probably nudge me towards doing it more quickly.

Something like this should work, more or less:

1. Set RSYNC_ENABLE to true in /etc/default/rsync

2. Put this following in /etc/rsyncd.conf:

        pid file=/var/run/rsyncd.pid

        uid = nobody
        gid = nogroup
        list = yes
        read only = yes
        use chroot = yes # CHECK ME
        max connections = 4 # CHANGE ME

            comment = GNU Elpa rsync mirror
            path = /var/www/pub # CHANGE ME
            refuse options = checksum dry-run
            dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz

This is a mix of rsyncd.conf's manpage and 
/usr/share/doc/rsync/examples/rsyncd.conf.  You'll need to make /var/www/pub 
(or whichever folder you pick) world-readable, and then to figure out how to 
atomically update its contents (I'll trust your shell-script-fu on that one :).


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]