Merge "Revert "Update permission of horizon logs""

This commit is contained in:
Zuul
2025-02-10 16:56:32 +00:00
committed by Gerrit Code Review

View File

@@ -31,7 +31,6 @@ APPLIEDDIR="/opt/branding/applied"
TMPUPLOADDIR="/scratch/horizon"
source /usr/bin/tsconfig
umask 027
start()
{
@@ -98,10 +97,6 @@ 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()