Fix httpd dir create to not error if exists
In cases where /var/log/httpd already exists, this exits with error code 1. $ sudo docker logs keystone-init-log mkdir: cannot create directory '/var/log/httpd': File exists Change-Id: I62bf08d9fc9e02d5f3016bd14bb0a090b76ac837
This commit is contained in:
parent
941ddf8003
commit
9bbd43b3e7
@ -109,7 +109,7 @@ outputs:
|
||||
start_order: 0
|
||||
image: *keystone_image
|
||||
user: root
|
||||
command: ['/bin/bash', '-c', 'mkdir /var/log/httpd && mkdir /var/log/keystone && chown keystone:keystone /var/log/keystone']
|
||||
command: ['/bin/bash', '-c', 'mkdir -p /var/log/httpd && mkdir -p /var/log/keystone && chown keystone:keystone /var/log/keystone']
|
||||
volumes:
|
||||
- logs:/var/log
|
||||
keystone_db_sync:
|
||||
|
Loading…
Reference in New Issue
Block a user