Kolla provides production-ready containers and deployment tools for operating OpenStack clouds
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
406 B

#!/bin/bash
set -o errexit
OCTAVIA_LOG_DIR=/var/log/kolla/octavia
if [[ ! -d "${OCTAVIA_LOG_DIR}" ]]; then
mkdir -p ${OCTAVIA_LOG_DIR}
fi
if [[ $(stat -c %U:%G ${OCTAVIA_LOG_DIR}) != "octavia:kolla" ]]; then
chown -R octavia:kolla /var/log/kolla/octavia
fi
if [[ $(stat -c %a ${OCTAVIA_LOG_DIR}) != "755" ]]; then
chmod 755 ${OCTAVIA_LOG_DIR}
fi
. /usr/local/bin/kolla_octavia_extend_start