summaryrefslogtreecommitdiffstats
path: root/roles/calico
diff options
context:
space:
mode:
authorSteve Milner <smilner@redhat.com>2017-05-09 10:43:47 -0400
committerSteve Milner <smilner@redhat.com>2017-05-09 14:49:01 -0400
commitb7ccac941502c93e804adf5582575ea3becf1ed8 (patch)
tree20111bec8ac5878079eb90d0a17e8ec67855716d /roles/calico
parent0db3ca9c7974b3a6ddfb82a14513d7250e029d3f (diff)
downloadopenshift-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/calico')
-rw-r--r--roles/calico/templates/calico.service.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/calico/templates/calico.service.j2 b/roles/calico/templates/calico.service.j2
index b882a5597..7a1236392 100644
--- a/roles/calico/templates/calico.service.j2
+++ b/roles/calico/templates/calico.service.j2
@@ -1,7 +1,7 @@
[Unit]
Description=calico
-After=docker.service
-Requires=docker.service
+After={{ openshift.docker.service_name }}.service
+Requires={{ openshift.docker.service_name }}.service
[Service]
Restart=always