
Swift replicator services require rsync to function. This patch adds a new container which is included automatically on each of the Swift storage nodes. Change-Id: If10fbe610ca4df21ef0f2c7a1025035d627cb4ba Partial-Bug: #1477993
10 lines
216 B
Bash
10 lines
216 B
Bash
#!/bin/bash
|
|
|
|
OWNER="swift"
|
|
|
|
if [[ -f "/opt/kolla/swift-rsyncd/rsyncd.conf" ]]; then
|
|
cp /opt/kolla/swift-rsyncd/rsyncd.conf /etc/rsyncd.conf
|
|
chown ${OWNER}: /etc/rsyncd.conf
|
|
chmod 0640 /etc/rsyncd.conf
|
|
fi
|