kolla-ansible/docker/cinder/cinder-base/extend_start.sh
Éric Lemoine 1382e39f16 Remove duplicate code in cinder extend_start.sh
Change-Id: I71953c905b978176bf7dc6bcaf3c4766be4b60fb
Partial-Bug: #1546944
2016-02-24 11:48:07 +01:00

11 lines
243 B
Bash

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