259266ceb8
Change-Id: I6c9b8f8b0cf254c2c3333ca789c5da364c7d5c73 Partially-Implements: blueprint monasca-containers
10 lines
243 B
Bash
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
|