summaryrefslogtreecommitdiffstats
path: root/roles/etcd/templates
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/etcd/templates
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/etcd/templates')
-rw-r--r--roles/etcd/templates/etcd.docker.service8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/etcd/templates/etcd.docker.service b/roles/etcd/templates/etcd.docker.service
index c8ceaa6ba..adeca7a91 100644
--- a/roles/etcd/templates/etcd.docker.service
+++ b/roles/etcd/templates/etcd.docker.service
@@ -1,8 +1,8 @@
[Unit]
Description=The Etcd Server container
-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]
EnvironmentFile={{ etcd_conf_file }}
@@ -14,4 +14,4 @@ Restart=always
RestartSec=5s
[Install]
-WantedBy=docker.service
+WantedBy={{ openshift.docker.service_name }}.service