72945b0926
Kibana 5 shares a common path across distros now, so this workaround is no longer required. Change-Id: Ib922bb4b44a31ae41dcc405d5bdcc37b4011cfa5
11 lines
245 B
Bash
11 lines
245 B
Bash
#!/bin/bash
|
|
|
|
KIBANA_LOG_DIR="/var/log/kolla/kibana"
|
|
|
|
if [[ ! -d "${KIBANA_LOG_DIR}" ]]; then
|
|
mkdir -p "${KIBANA_LOG_DIR}"
|
|
fi
|
|
if [[ $(stat -c %U:%G "${KIBANA_LOG_DIR}") != "kibana:kolla" ]]; then
|
|
chown kibana:kolla "${KIBANA_LOG_DIR}"
|
|
fi
|