summaryrefslogtreecommitdiffstats
path: root/roles/openshift_loadbalancer
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-05-10 20:59:11 -0400
committerGitHub <noreply@github.com>2017-05-10 20:59:11 -0400
commitd98a055f736e94449de556b1b906d48fd3fd7c60 (patch)
tree1fcadf073182333f60addd345655fba3b1e4e843 /roles/openshift_loadbalancer
parentf724a2cbd99ab131436089b3ec58af8498f5fbfb (diff)
parent64dd65bef17835164a535d8367fdc8c852a97293 (diff)
downloadopenshift-d98a055f736e94449de556b1b906d48fd3fd7c60.tar.gz
openshift-d98a055f736e94449de556b1b906d48fd3fd7c60.tar.bz2
openshift-d98a055f736e94449de556b1b906d48fd3fd7c60.tar.xz
openshift-d98a055f736e94449de556b1b906d48fd3fd7c60.zip
Merge pull request #4131 from ashcrow/1448800
Update systemd units to use proper container service name
Diffstat (limited to 'roles/openshift_loadbalancer')
-rw-r--r--roles/openshift_loadbalancer/templates/haproxy.docker.service.j28
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