kolla/docker/ceph/ceph-base/extend_start.sh
Mauricio Lima a24aefe83d Make Heka collect Ceph logs
Fix in stable/mitaka
Closes-Bug: #1570529

Change-Id: I898837f25cf1c23aaf16055e6d4a0ed086c1ae9f
2016-05-17 20:46:11 -04:00

9 lines
186 B
Bash

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