c780a98758
Change-Id: I6ca1ee54cfb73ead53d199ba138673fb31499cdc Partially-Implements: blueprint monasca-containers
10 lines
259 B
Bash
10 lines
259 B
Bash
#!/bin/bash
|
|
|
|
# Create log directory, with appropriate permissions
|
|
if [[ ! -d "/var/log/kolla/zookeeper" ]]; then
|
|
mkdir -p /var/log/kolla/zookeeper
|
|
fi
|
|
if [[ $(stat -c %a /var/log/kolla/zookeeper) != "755" ]]; then
|
|
chmod 755 /var/log/kolla/zookeeper
|
|
fi
|