kolla/docker/mistral/mistral-base/extend_start.sh
Éric Lemoine a2fe38bba5 Make Heka collect Mistral logs
Partially implements: blueprint heka

Change-Id: Ib6ac3228626360216c2c738ed601d61375b51675
2016-02-23 01:33:47 -08:00

11 lines
248 B
Bash

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