summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rsyncd.conf')
-rwxr-xr-xrsyncd.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/rsyncd.conf b/rsyncd.conf
new file mode 100755
index 0000000..bc9ccc0
--- /dev/null
+++ b/rsyncd.conf
@@ -0,0 +1,20 @@
+
+uid = nobody
+gid = nobody
+# We are in a container, who cares.
+use chroot = no
+# Let clients use as much as they want; CPU control is in a load balancer in front of us.
+max connections = 0
+
+motd file = ./rsyncd.motd
+# On GCP, the default log collector only collects syslog, so just toss logs in there.
+log file = /var/log/syslog
+transfer logging = yes
+log format = %t %a %m %f %b
+syslog facility = daemon
+timeout = 300
+
+[gentoo-portage]
+path = /srv/gentoo/serving
+comment = Gentoo Linux Portage tree mirror
+exclude = distfiles