kolla-ansible/docker/murano/murano-base/extend_start.sh
Éric Lemoine 34ac0dfad2 Remove duplicate code in murano extend_start.sh
Change-Id: I32e55ce520c95b3d2c018604e925bd8d4fdf58f1
Partial-Bug: #1546944
2016-02-24 12:10:34 +01:00

11 lines
243 B
Bash

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