Browse Source

Merge "octavia: Fix log dir permissions"

changes/62/784562/1
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
ac4e496eeb
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      docker/octavia/octavia-base/extend_start.sh

+ 3
- 0
docker/octavia/octavia-base/extend_start.sh View File

@ -7,6 +7,9 @@ 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


Loading…
Cancel
Save