kolla-ansible/docker/manila/manila-base/extend_start.sh
Mauricio Lima 285e42a99c Make Heka collect Manila logs
Partially implements: blueprint heka

Change-Id: I3fadbf29f5219a293b8b1114d192e27888be2c59
2016-03-03 10:53:59 -05:00

11 lines
243 B
Bash

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