02ce804a44
Vitrage start api service under apache or uwsgi. We have not created a migration to uwsgi. This change adds apache packages needed for api also add rdo binaries to rpm distros. Adds missing collector image. Change-Id: Iecb32e321b46f9b567af25fa6acafbe9a292bbca Closes-Bug: #1681613
15 lines
384 B
Bash
Executable File
15 lines
384 B
Bash
Executable File
#!/bin/bash
|
|
|
|
VITRAGE_LOG_DIR="/var/log/kolla/vitrage"
|
|
if [[ ! -d "${VITRAGE_LOG_DIR}" ]]; then
|
|
mkdir -p ${VITRAGE_LOG_DIR}
|
|
fi
|
|
if [[ $(stat -c %U:%G ${VITRAGE_LOG_DIR}) != "vitrage:kolla" ]]; then
|
|
chown vitrage:kolla ${VITRAGE_LOG_DIR}
|
|
fi
|
|
if [[ $(stat -c %a ${VITRAGE_LOG_DIR}) != "755" ]]; then
|
|
chmod 755 ${VITRAGE_LOG_DIR}
|
|
fi
|
|
|
|
. /usr/local/bin/kolla_vitrage_extend_start
|