65ed3c7f53
Change-Id: Icf74913d03a780cd7c59fbc26a55344f2a12fdfa Partially-implements: blueprint remove-config-internal
11 lines
222 B
Bash
11 lines
222 B
Bash
#!/bin/bash
|
|
SOURCE="/opt/kolla/gnocchi-api/gnocchi-api.conf"
|
|
TARGET="/etc/gnocchi/gnocchi-api.conf"
|
|
OWNER="gnocchi"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0644 $TARGET
|
|
fi
|