Merge "Fix idempotency for horizon container logs" into stable/queens

This commit is contained in:
Zuul 2019-03-18 19:57:31 +00:00 committed by Gerrit Code Review
commit 98721c89c9
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ outputs:
# FIXME Apache needs to read files in /etc/openstack-dashboard
# Need to set permissions to match the BM case,
# http://paste.openstack.org/show/609819/
command: ['/bin/bash', '-c', 'touch /var/log/horizon/horizon.log && chown -R apache:apache /var/log/horizon && chmod -R a+rx /etc/openstack-dashboard']
command: ['/bin/bash', '-c', 'touch /var/log/horizon/horizon.log ; chown -R apache:apache /var/log/horizon && chmod -R a+rx /etc/openstack-dashboard']
volumes:
- /var/log/containers/horizon:/var/log/horizon
- /var/log/containers/httpd/horizon:/var/log/httpd