kolla/docker/zookeeper/extend_start.sh
Sam Yaple c780a98758 Add zookeeper image
Change-Id: I6ca1ee54cfb73ead53d199ba138673fb31499cdc
Partially-Implements: blueprint monasca-containers
2016-12-12 16:11:39 +00:00

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