# HG changeset patch # User Christophe Lincoln # Date 1331850894 -3600 # Node ID badc896c116dba3570d1f9b0dab039c12e149e9e # Parent 03ca13be914f70e773b3abaf022ddbb693f96123 mirror: add rsyncd.conf (now with cooking packages modules diff -r 03ca13be914f -r badc896c116d mirror/files/etc/rsyncd.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror/files/etc/rsyncd.conf Thu Mar 15 23:34:54 2012 +0100 @@ -0,0 +1,85 @@ +# rsynd configuration for SliTaz mirror +# +motd file=/etc/rsyncd.motd +log file=/var/log/rsyncd +#log format = %h - - [%t] "%f" - %l +pid file=/var/run/rsyncd.pid + + +[slitaz] + + comment = SliTaz GNU/Linux mirror + path = /var/www/slitaz/mirror + use chroot = yes + max connections = 5 + lock file = /var/lock/rsyncd + read only = yes + list = yes + uid = nobody + gid = nogroup + strict modes = yes + ignore errors = no + ignore nonreadable = yes + transfer logging = no + timeout = 600 + refuse options = checksum dry-run + dont compress = *.lzma *.gz *.tgz *.zip *.iso *.bz2 *.tazpkg + +[slitaz-doc] + + comment = SliTaz GNU/Linux documentation + path = /var/www/doc +# exclude = conf/users.auth.php.TANK conf/users.auth.php.old conf/users.auth.php conf/local.php conf/local.php.bak + exclude = conf/* + use chroot = yes + max connections = 5 + lock file = /var/lock/rsyncd + read only = yes + list = yes + uid = nobody + gid = nogroup + strict modes = yes + ignore errors = no + ignore nonreadable = yes + transfer logging = no + timeout = 600 + refuse options = checksum dry-run + dont compress = *.gz *.tgz *.zip *.iso *.bz2 *.tazpkg + +[slitaz-cooking] + + comment = SliTaz GNU/Linux cooking packages + path = /var/www/slitaz/mirror/packages/cooking + use chroot = yes + max connections = 5 + lock file = /var/lock/rsyncd + read only = yes + list = yes + uid = nobody + gid = nogroup + strict modes = yes + ignore errors = no + ignore nonreadable = yes + transfer logging = no + timeout = 600 + refuse options = checksum dry-run + dont compress = *.tazpkg + +[tiny-slitaz] + + comment = Tiny SliTaz GNU/Linux mirror + path = /var/www/pizza/tiny + use chroot = yes + max connections = 5 + lock file = /var/lock/rsyncd + read only = yes + list = yes + uid = nobody + gid = nogroup + strict modes = yes + ignore errors = no + ignore nonreadable = yes + transfer logging = no + timeout = 600 + refuse options = checksum dry-run + dont compress = *.lzma *.gz *.tgz *.zip *.iso *.bz2 *.tazpkg