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

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