Wait for the completion connections before drop container
Change-Id: Iee4105b6f80239fd6f7f1e13556a88e7260d36a0
This commit is contained in:
parent
49c835ec09
commit
972f335ff1
|
@ -1,4 +1,4 @@
|
||||||
dsl_version: 0.6.0
|
dsl_version: 0.9.0
|
||||||
service:
|
service:
|
||||||
name: keystone
|
name: keystone
|
||||||
ports:
|
ports:
|
||||||
|
@ -24,6 +24,10 @@ service:
|
||||||
path: "/var/log/ccp/keystone"
|
path: "/var/log/ccp/keystone"
|
||||||
type: host
|
type: host
|
||||||
readOnly: False
|
readOnly: False
|
||||||
|
lifecycle:
|
||||||
|
preStop:
|
||||||
|
exec:
|
||||||
|
command: ["apachectl", "-k", "graceful-stop"]
|
||||||
pre:
|
pre:
|
||||||
- name: chown-logs-dir
|
- name: chown-logs-dir
|
||||||
command: "sudo /bin/chown keystone:keystone /var/log/ccp/keystone"
|
command: "sudo /bin/chown keystone:keystone /var/log/ccp/keystone"
|
||||||
|
|
Loading…
Reference in New Issue