kolla/docker/kafka/extend_start.sh
Sam Yaple 259266ceb8 Add kafka image
Change-Id: I6c9b8f8b0cf254c2c3333ca789c5da364c7d5c73
Partially-Implements: blueprint monasca-containers
2016-12-12 16:13:29 +00:00

10 lines
243 B
Bash

#!/bin/bash
# Create log directory, with appropriate permissions
if [[ ! -d "/var/log/kolla/kafka" ]]; then
mkdir -p /var/log/kolla/kafka
fi
if [[ $(stat -c %a /var/log/kolla/kafka) != "755" ]]; then
chmod 755 /var/log/kolla/kafka
fi