log rsync for syncproxy and security to dedicated logs
[mirror/dsa-puppet.git] / modules / roles / templates / syncproxy / rsyncd.conf.erb
index 832ad9e..ef7e962 100644 (file)
@@ -6,14 +6,14 @@ socket options = SO_KEEPALIVE
 timeout = 7200
 
 # weasel 2007-11-19
-log file =  /var/log/rsyncd/rsyncd.log
+log file =  /var/log/rsyncd/rsyncd-syncproxy.log
 
 [debian]
   path = /srv/mirrors/debian/
 <%- unless has_variable?("has_srv_mirrors_debian") && has_srv_mirrors_debian == "true" -%>
   list = no
 <%- end -%>
-  comment = Full Debian FTP Archive (~1.5 TB as of 2015; contact mirrors@debian.org for access)
+  comment = Full Debian FTP Archive (contact mirrors@debian.org for access; see https://www.debian.org/mirror/size for size)
   auth users = *
   read only = true
   secrets file = /etc/rsyncd/debian.secrets
@@ -29,20 +29,20 @@ log file =  /var/log/rsyncd/rsyncd.log
   secrets file = /etc/rsyncd/debian.secrets
 
 [debian-debug]
+  path = /srv/mirrors/debian-debug/
 <%- unless has_variable?("has_srv_mirrors_debian_debug") && has_srv_mirrors_debian_debug == "true" -%>
   list = no
 <%- end -%>
-  path = /srv/mirrors/debian-debug/
   comment = Debug packages.  Probably large.  Starting end of 2015.
   auth users = *
   read only = true
   secrets file = /etc/rsyncd/debian.secrets
 
 [debian-security]
+  path = /srv/mirrors/debian-security/
 <%- unless has_variable?("has_srv_mirrors_debian_security") && has_srv_mirrors_debian_security == "true" -%>
   list = no
 <%- end -%>
-  path = /srv/mirrors/debian-security/
   comment = Debian security archive (~100 GB; contact mirrors@debian.org for access)
   auth users = *
   read only = true