wok-tiny diff rsync/stuff/etc/rsyncd.conf @ rev 80
Add rsync
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 19 23:03:09 2012 +0200 (2012-07-19) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rsync/stuff/etc/rsyncd.conf Thu Jul 19 23:03:09 2012 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +# /etc/rsyncd.conf: Rsync deamon configuration file. 1.5 +# 1.6 + 1.7 +max connections = 2 1.8 +use chroot = yes 1.9 +#motd file = /etc/rsyncd.motd 1.10 +pid file = /var/run/rsyncd.pid 1.11 + 1.12 +# Deny/allow hosts by IP. 1.13 +# 1.14 +#hosts allow = 192.168.1.100/255.255.0.0 1.15 +#hosts deny = * 1.16 + 1.17 +[web-server] 1.18 + path = /var/www 1.19 + comment = WWW rsync module 1.20 + exclude = cgi-bin/ 1.21 +# secrets file = /etc/rsyncd.secrets 1.22 +