aboutsummaryrefslogtreecommitdiff
path: root/docker/heat/heat-api-cfn/config-external.sh
blob: 91d5742f1979c78018ef268544b57e46d87be3fe (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
SOURCE="/opt/kolla/heat-api-cfn/heat.conf"
TARGET="/etc/heat/heat.conf"
OWNER="heat"

if [[ -f "$SOURCE" ]]; then
    cp $SOURCE $TARGET
    chown ${OWNER}: $TARGET
    chmod 0644 $TARGET
fi