kolla-ansible/docker/common/memcached/config-external.sh
Sam Yaple a7223799c9 Remove config-internal for memcached
Change-Id: I801608a303b7376c5f386db684e9be7ada5af3d3
Partially-implements: blueprint remove-config-internal
2015-08-07 18:23:51 +00:00

11 lines
206 B
Bash

#!/bin/bash
SOURCE="/opt/kolla/memcached/memcached"
TARGET="/etc/sysconfig/memcached"
OWNER="swift"
if [[ -f "$SOURCE" ]]; then
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET
fi