summaryrefslogtreecommitdiff
path: root/rsyncd/rsyncd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'rsyncd/rsyncd.conf')
-rw-r--r--rsyncd/rsyncd.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/rsyncd/rsyncd.conf b/rsyncd/rsyncd.conf
new file mode 100644
index 0000000..ea9d9e9
--- /dev/null
+++ b/rsyncd/rsyncd.conf
@@ -0,0 +1,15 @@
+# /etc/rsyncd.conf
+
+# Minimal configuration file for rsync daemon
+# See rsync(1) and rsyncd.conf(5) man pages for help
+
+# This line is required by the /etc/init.d/rsyncd script
+pid file = /run/rsyncd.pid
+use chroot = yes
+read only = yes
+
+# Simple example for enabling your own local rsync server
+[gentoo-portage]
+ path = /var/db/repos/gentoo
+ comment = Gentoo ebuild repository
+ exclude = /distfiles /packages /lost+found