7555054e72
* ceilometer-api script is removed and run ceilometer-api by using apache * fix connection url in ceilometer.conf Closes-Bug: #1624905 Change-Id: Iffb00ca418bab6521d61b16de4f5760aa1ae1ac7
16 lines
426 B
Bash
16 lines
426 B
Bash
#!/bin/bash
|
|
|
|
CEILOMETER_LOG_DIR=/var/log/kolla/ceilometer
|
|
|
|
if [[ ! -d "${CEILOMETER_LOG_DIR}" ]]; then
|
|
mkdir -p "${CEILOMETER_LOG_DIR}"
|
|
fi
|
|
if [[ $(stat -c %U:%G "${CEILOMETER_LOG_DIR}") != "ceilometer:kolla" ]]; then
|
|
chown ceilometer:kolla "${CEILOMETER_LOG_DIR}"
|
|
fi
|
|
if [[ $(stat -c %a "${CEILOMETER_LOG_DIR}") != "755" ]]; then
|
|
chmod 755 "${CEILOMETER_LOG_DIR}"
|
|
fi
|
|
|
|
. /usr/local/bin/kolla_ceilometer_extend_start
|