kolla/docker/karbor/karbor-base/extend_start.sh
caowei 2dae2f080c Add karbor container
Change-Id: I8ed8840d06a1fdb87aad51f438ac6c38c1c14642
Partially-implements: bp karbor-container
2016-11-14 14:23:44 +08:00

11 lines
238 B
Bash

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