Wait for the completion connections before drop container

Change-Id: Iee4105b6f80239fd6f7f1e13556a88e7260d36a0
This commit is contained in:
Mikhail 2017-03-23 14:55:40 +04:00 committed by Mikhail Zhnichkov
parent 49c835ec09
commit 972f335ff1
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
dsl_version: 0.6.0
dsl_version: 0.9.0
service:
name: keystone
ports:
@ -24,6 +24,10 @@ service:
path: "/var/log/ccp/keystone"
type: host
readOnly: False
lifecycle:
preStop:
exec:
command: ["apachectl", "-k", "graceful-stop"]
pre:
- name: chown-logs-dir
command: "sudo /bin/chown keystone:keystone /var/log/ccp/keystone"