aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/swift/templates/rsyncd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/swift/templates/rsyncd.conf')
-rw-r--r--deploy/adapters/ansible/roles/swift/templates/rsyncd.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/swift/templates/rsyncd.conf b/deploy/adapters/ansible/roles/swift/templates/rsyncd.conf
new file mode 100644
index 00000000..703c55eb
--- /dev/null
+++ b/deploy/adapters/ansible/roles/swift/templates/rsyncd.conf
@@ -0,0 +1,23 @@
+uid = swift
+gid = swift
+log file = /var/log/rsyncd.log
+pid file = /var/run/rsyncd.pid
+address = {{ internal_ip }}
+
+[account]
+max connections = 2
+path = /srv/node/
+read only = False
+lock file = /var/lock/account.lock
+
+[container]
+max connections = 2
+path = /srv/node/
+read only = False
+lock file = /var/lock/container.lock
+
+[object]
+max connections = 2
+path = /srv/node/
+read only = False
+lock file = /var/lock/object.lock