8105f504d3
* Add extend start script in octavia * Add octavia user into kolla group Change-Id: I876e06795b04f676a0cfa67915ca65caec9e33e3
15 lines
283 B
Bash
15 lines
283 B
Bash
#!/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 %a ${OCTAVIA_LOG_DIR}) != "755" ]]; then
|
|
chmod 755 ${OCTAVIA_LOG_DIR}
|
|
fi
|
|
|
|
. /usr/local/bin/kolla_octavia_extend_start
|