summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-04 19:44:33 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-04 19:44:33 +0000
commit1fd5a2864b5578134ec9f54585d9ac6656b327ac (patch)
tree9dca5bea1763a52231a8513810e7f0e6b13ff8bc
parent66cf79906296c485bf480a9ffdca8f4f3a18c215 (diff)
downloaddefinitions-1fd5a2864b5578134ec9f54585d9ac6656b327ac.tar.gz
Add rsyncd.conf
-rw-r--r--openstack/etc/rsyncd.conf23
-rw-r--r--openstack/manifest1
2 files changed, 24 insertions, 0 deletions
diff --git a/openstack/etc/rsyncd.conf b/openstack/etc/rsyncd.conf
new file mode 100644
index 00000000..75c69ad4
--- /dev/null
+++ b/openstack/etc/rsyncd.conf
@@ -0,0 +1,23 @@
+uid = swift
+gid = swift
+log file = /var/log/rsyncd.log
+pid file = /var/run/rsyncd.pid
+address = ##MANAGEMENT_INTERFACE_IP_ADDRESS##
+
+[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
diff --git a/openstack/manifest b/openstack/manifest
index 78067bb7..d38bf884 100644
--- a/openstack/manifest
+++ b/openstack/manifest
@@ -172,3 +172,4 @@
0100644 0 0 /usr/share/openstack/hosts
0100644 0 0 /usr/lib/systemd/system/openstack-swift-proxy.service
0100644 0 0 /usr/lib/systemd/system/openstack-swift-storage.service
+0100644 0 0 /etc/rsyncd.conf