kolla-ansible/docker/cloudkitty/cloudkitty-base/extend_start.sh
Christian Berendt aa4b49a2c3 Add cloudkitty containers for type source
Change-Id: I548c20afd7ce7ba27a5475c69c78c7d267ccc24b
Partially-Implements: blueprint cloudkitty-docker
2016-09-06 08:54:21 +02:00

11 lines
258 B
Bash

#!/bin/bash
if [[ ! -d "/var/log/kolla/cloudkitty" ]]; then
mkdir -p /var/log/kolla/cloudkitty
fi
if [[ $(stat -c %a /var/log/kolla/cloudkitty) != "755" ]]; then
chmod 755 /var/log/kolla/cloudkitty
fi
. /usr/local/bin/kolla_cloudkitty_extend_start