Merge "Fix idempotency for horizon container logs" into stable/rocky
This commit is contained in:
commit
e84654697c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue