Merge "Update permission of horizon logs"

This commit is contained in:
Zuul 2025-02-25 13:40:08 +00:00 committed by Gerrit Code Review
commit 151e86f721

View File

@ -97,6 +97,9 @@ start()
# As part of starting horizon we should kill containerized horizon so that it
# will pickup branding changes
kubectl --kubeconfig=/etc/kubernetes/admin.conf delete pods -n openstack -l application=horizon 1>/dev/null
#restrict log file permissions
chmod 640 /var/log/horizon/horizon.log
chmod 640 /var/log/horizon/gunicorn.log
}
stop()