Browse Source

Wait for the completion connections before drop container

Change-Id: Iee4105b6f80239fd6f7f1e13556a88e7260d36a0
Mikhail 2 years ago
parent
commit
972f335ff1
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      service/keystone.yaml

+ 5
- 1
service/keystone.yaml View File

@@ -1,4 +1,4 @@
1
-dsl_version: 0.6.0
1
+dsl_version: 0.9.0
2 2
 service:
3 3
   name: keystone
4 4
   ports:
@@ -24,6 +24,10 @@ service:
24 24
           path: "/var/log/ccp/keystone"
25 25
           type: host
26 26
           readOnly: False
27
+      lifecycle:
28
+        preStop:
29
+          exec:
30
+            command: ["apachectl", "-k", "graceful-stop"]
27 31
       pre:
28 32
         - name: chown-logs-dir
29 33
           command: "sudo /bin/chown keystone:keystone /var/log/ccp/keystone"

Loading…
Cancel
Save