diff options
author | Steve Milner <smilner@redhat.com> | 2017-05-09 10:43:47 -0400 |
---|---|---|
committer | Steve Milner <smilner@redhat.com> | 2017-05-09 14:49:01 -0400 |
commit | b7ccac941502c93e804adf5582575ea3becf1ed8 (patch) | |
tree | 20111bec8ac5878079eb90d0a17e8ec67855716d /roles/openshift_loadbalancer/templates | |
parent | 0db3ca9c7974b3a6ddfb82a14513d7250e029d3f (diff) | |
download | openshift-b7ccac941502c93e804adf5582575ea3becf1ed8.tar.gz openshift-b7ccac941502c93e804adf5582575ea3becf1ed8.tar.bz2 openshift-b7ccac941502c93e804adf5582575ea3becf1ed8.tar.xz openshift-b7ccac941502c93e804adf5582575ea3becf1ed8.zip |
Update systemd units to use proper container service name
- If using a system container: container-engine
- If using a package install: docker
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1448800
Diffstat (limited to 'roles/openshift_loadbalancer/templates')
-rw-r--r-- | roles/openshift_loadbalancer/templates/haproxy.docker.service.j2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/openshift_loadbalancer/templates/haproxy.docker.service.j2 b/roles/openshift_loadbalancer/templates/haproxy.docker.service.j2 index 5385df3b7..72182fcdd 100644 --- a/roles/openshift_loadbalancer/templates/haproxy.docker.service.j2 +++ b/roles/openshift_loadbalancer/templates/haproxy.docker.service.j2 @@ -1,7 +1,7 @@ [Unit] -After=docker.service -Requires=docker.service -PartOf=docker.service +After={{ openshift.docker.service_name }}.service +Requires={{ openshift.docker.service_name }}.service +PartOf={{ openshift.docker.service_name }}.service [Service] ExecStartPre=-/usr/bin/docker rm -f openshift_loadbalancer @@ -14,4 +14,4 @@ Restart=always RestartSec=5s [Install] -WantedBy=docker.service +WantedBy={{ openshift.docker.service_name }}.service |