diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-02-20 22:24:22 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-02-20 22:24:22 +0000 |
| commit | e69780da4372efd7e7fcab96ffeb0ea382c12c0d (patch) | |
| tree | 4ac55f1e4dbe32f0e7d984352b2fd650de392377 /docker/heat/heat-api | |
| parent | 556a02786960e67d48bb1aaf4d1b3d83f644f841 (diff) | |
| parent | 82264ab7d6d178b6d69c84016997cd4df34f112a (diff) | |
| download | kolla-e69780da4372efd7e7fcab96ffeb0ea382c12c0d.tar.gz kolla-e69780da4372efd7e7fcab96ffeb0ea382c12c0d.zip | |
Merge "Make Heka collect Heat logs"
Diffstat (limited to 'docker/heat/heat-api')
| -rw-r--r-- | docker/heat/heat-api/extend_start.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/heat/heat-api/extend_start.sh b/docker/heat/heat-api/extend_start.sh index ca4f83da5..2eb7468f5 100644 --- a/docker/heat/heat-api/extend_start.sh +++ b/docker/heat/heat-api/extend_start.sh @@ -1,5 +1,12 @@ #!/bin/bash +if [[ ! -d "/var/log/kolla/heat" ]]; then + mkdir -p /var/log/kolla/heat +fi +if [[ $(stat -c %a /var/log/kolla/heat) != "755" ]]; then + chmod 755 /var/log/kolla/heat +fi + # Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases # of the KOLLA_BOOTSTRAP variable being set, including empty. if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then |
