Skip to content
Snippets Groups Projects
Commit 3a744567 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Add creation of new log folder for Horizon"

parents 72122929 8d96d639
No related branches found
No related tags found
No related merge requests found
...@@ -22,3 +22,12 @@ if [[ ! -f ${MD5SUM_TXT_PATH} || $(md5sum -c --status ${MD5SUM_TXT_PATH};echo $? ...@@ -22,3 +22,12 @@ if [[ ! -f ${MD5SUM_TXT_PATH} || $(md5sum -c --status ${MD5SUM_TXT_PATH};echo $?
/var/lib/kolla/venv/bin/python /var/lib/kolla/venv/bin/manage.py compress --force /var/lib/kolla/venv/bin/python /var/lib/kolla/venv/bin/manage.py compress --force
fi fi
fi fi
# NOTE(sbezverk) since Horizon is now storing logs in its own location, /var/log/horizon
# needs to be created if it does not exist
if [[ ! -d "/var/log/kolla/horizon" ]]; then
mkdir -p /var/log/kolla/horizon
fi
if [[ $(stat -c %a /var/log/kolla/horizon) != "755" ]]; then
chmod 755 /var/log/kolla/horizon
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment