summaryrefslogtreecommitdiffstats
path: root/roles/etcd/templates/etcd.docker.service
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-07-05 08:07:28 +0200
committerGitHub <noreply@github.com>2017-07-05 08:07:28 +0200
commit560164569fbefb52e908e1de4fbe5e4b8a5a844e (patch)
tree4809c0cd0920bcf25e12e242808d6e9b8ffad0b7 /roles/etcd/templates/etcd.docker.service
parentad29d7227e3fe4c6af2c65e037036ecf129f056c (diff)
parent61e2d5d539677a236b48ee92ad7b618a232e3833 (diff)
downloadopenshift-560164569fbefb52e908e1de4fbe5e4b8a5a844e.tar.gz
openshift-560164569fbefb52e908e1de4fbe5e4b8a5a844e.tar.bz2
openshift-560164569fbefb52e908e1de4fbe5e4b8a5a844e.tar.xz
openshift-560164569fbefb52e908e1de4fbe5e4b8a5a844e.zip
Merge pull request #4674 from ingvagabund/drop-etcdctl-before-etcd_container-service
drop etcdctl before the etcd_container service
Diffstat (limited to 'roles/etcd/templates/etcd.docker.service')
-rw-r--r--roles/etcd/templates/etcd.docker.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/etcd/templates/etcd.docker.service b/roles/etcd/templates/etcd.docker.service
index d9327f433..adeca7a91 100644
--- a/roles/etcd/templates/etcd.docker.service
+++ b/roles/etcd/templates/etcd.docker.service
@@ -7,7 +7,7 @@ PartOf={{ openshift.docker.service_name }}.service
[Service]
EnvironmentFile={{ etcd_conf_file }}
ExecStartPre=-/usr/bin/docker rm -f {{ etcd_service }}
-ExecStart=/usr/bin/docker run --name {{ etcd_service }} --rm -v {{ etcd_data_dir }}:{{ etcd_data_dir }}:z -v {{ etcd_conf_dir }}:{{ etcd_conf_dir }}:ro --env-file={{ etcd_conf_file }} --net=host --security-opt label=type:spc_t --entrypoint=/usr/bin/etcd {{ openshift.etcd.etcd_image }}
+ExecStart=/usr/bin/docker run --name {{ etcd_service }} --rm -v {{ etcd_data_dir }}:{{ etcd_data_dir }}:z -v {{ etcd_conf_dir }}:{{ etcd_conf_dir }}:ro --env-file={{ etcd_conf_file }} --net=host --entrypoint=/usr/bin/etcd {{ openshift.etcd.etcd_image }}
ExecStop=/usr/bin/docker stop {{ etcd_service }}
SyslogIdentifier=etcd_container
Restart=always